Solve Problem 21