problem 1025 solved