problem 37
problem 52