The sum of the first two numbers is 1004, so the third number must be 1005.
The sum of the last two is 1005, so the first number must be 1004.
The sum of three numbers is 2009, so the middle number must be 0.
Therefore the product of all three numbers is 0.
The sum of the first two numbers and the last two numbers is 1004 + 1005 = 2009.
This counts the middle number twice.
But the sum of all three numbers is 2009, so the middle number is 0.
Hence the product of all three numbers is 0.
: Let the three numbers be a
Adding the first two equations gives
and subtracting the third equationg from this gives
Thus the product $abc=0$.
This problem is taken from the UKMT Mathematical Challenges.