problem 41 solved