problem 52 solution