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]: 9910 + 9584 - 6394 - 5927
[A]: 12647


[Q]: 2372 + 1272 - 6861 - 1715 - 7374 + 9798 - 7485
[A]: 14737


[Q]: 8211 - 8147 + 6341 - 289 + 8287 - 4593 + 2540
[A]:
4072