Problem 123 solved