problem 112 solved