problem 634 solved