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]: 2510 - 5839 + 9950 + 740
[A]: -2341


[Q]: 9776 + 5760 + 5961 - 1401 - 1368
[A]: 824


[Q]: 4768 - 1694 - 795 + 4772
[A]:
2485