Solved problem 10