He spent 300, so we should not add them in the total.he gave 100rs each .we have to add that only 200.
That means 900+400+(100+100) in bracket he paid each one hundred.
We must add it but what he spent.