Solve problem 29.