problem 42 solved