Solved Problem 49.