Solved Problem 51.