problem 1022