Problem 41 solved