The task is to generate the correct answer for a given math problem.

[Q]: Problem: 1,000 ^ 2 + 1,001 ^ 2 + 1,002 ^ 2 + 1,003 ^ 2 + 1,004 ^ 2 =
[A]: 6

[Q]: Problem: in how many no . between 10 and 30 exactly two of the digits is 2 ?
[A]: 1

[Q]: Problem: two pipes a and b can separately fill a tank in 16 and 18 minutes respectively . a third pipe c can drain off 45 liters of water per minute . if all the pipes are opened , the tank can be filled in 18 minutes . what is the capacity of the tank ?
[A]:
720 liters