Is there any sort of limit on the numbers that they must be integers?

7/2 is not an integer, but the nearest integer to 7/2 that satisfies the conditions is 4.

The question may be using the word 'number' in the same sense that 'number' theory is the theory of integers.