Problem 27 Solution.