Problem 45
problem 47