Solve problem 010