Codeforces. Problem div2 #233.B solved