problem 1000