Solve Problem 22