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: 6040 + 5815 + 9288 + 5107 + 5697 + 7993 - 672 + 8297

A: -35485
****
Q: 7671 - 2300 - 9650 - 6692 + 7656 + 4940 - 2878 - 5602 + 7222

A: 14975
****
Q: 4102 - 2925 - 4577 + 7702 - 8484 + 9717 - 1486 - 6028 + 6406

A:
3777
****