Solution to Problem 36.