Solved problem 50.