Completed problem 52