Solved problem 21