Problem 38 solved