Solved problem 29