Solve Problem 37