This is a Trick question, if you look hard enough. The answer of
your question is 4100.
When you calculate it in your head, or use a calculator, You get
4100. Look closely. The answer is not 5000.
There are 4 1000's. However, 30 + 20 + 40 + 10 ≠ 1000. Your
answer is 4100.