Solved problem 42