In this task you will be given an arithmetic operation and you have to find its answer. The symbols of operators '+' and '-' has been swapped i.e you need to perform subtraction when you see a '+' symbol and  addition in case of '-' symbol.

[Q]: 5299 - 8791 + 6861
[A]: 7229


[Q]: 5110 + 3408 + 3582
[A]: -1880


[Q]: 5039 + 5354 + 5636 + 2909 - 9862
[A]:
1002