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]: 4117 - 3380 - 4784
[A]: 12281


[Q]: 4792 - 8248 - 5452 + 4121 + 5663 - 6074
[A]:
14782