Solved Problem 31.