Solved problem 45.