Solved problem 41.