<|system|>
How many four-digit integers are less than 8000 and greater than 2000?</s>.
<|user|>
Can you answer based on context?
<|assistant|>
I can think of this as a range of numbers from 2001 to 7999, inclusive. To count how many numbers are in this range, I can subtract the endpoints and add one: 7999 - 2001 + 1 = 5999. 