Solved problem 8.