Solved Problem 47.