Problem 494 solved