Solve problem 35