Problem 34 Solution.