problem 1117