Solve Problem 38