Codeforces 250 - The Child and the Toy