Solved Problem 18.