problem 1046