Problem 58 solved