problem 38 solved