eolymp
bolt
Try our new interface for solving problems
Məsələlər

Cubes - 3

Cubes - 3

\includegraphics{https://static.e-olymp.com/content/81/81e1ffee26a6fb515e2747f0e9e9cee7ebee94d1.jpg} Vitek has at home \textbf{2} identical sets of cubes of English letters, but during the regular cleaning one of the cubes lost. Help Witek to determine which of the cubes is missing in one of the suites. \InputFile The first line contains the number of found cubes \textbf{n} (\textbf{1} ≤ \textbf{n} ≤ \textbf{10^5}) by Vitek, and the second line contains \textbf{n} characters depicted on each of the cubes. \OutputFile Print the character on the lost cube, or the message "\textbf{Ok}", if Vitek was mistaken and no cube is lost.
Zaman məhdudiyyəti 1 saniyə
Yaddaşı istafadə məhdudiyyəti 122.17 MiB
Giriş verilənləri #1
5
abcac
Çıxış verilənləri #1
b
Müəllif Anatoliy Prisyazhnuk
Mənbə II этап Всеукраинской олимпиады школьников 2012-2013, г. Бердичев