problem 38
problem 38 solved