Let the missing number be denoted by .
You can change the order and group together numbers in different ways when you add. So,
Since is more than , then the sum of 2 and the unknown number is equal to .
We know that 2 less than is , so .
Therefore, the unknown number is 998.