What is the solution to problem CF 1004 Sonya and Robots?