test task from Vitya