problem 49
problem 37
problem 50