Solve Problem 97