codeforces 207 Div. 1 B. Xenia and Hamming