Problem 1 Russian Version