problem 35 solution