Solved problem 17.