Solved problem 27