problem 49 solved