Solved problem 52