Solution to Problem 52.