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.

1540 + 6977 + 9400 - 5524 - 1970 + 8397 - 6006 + 3183
-12917

6040 + 5815 + 9288 + 5107 + 5697 + 7993 - 672 + 8297
-35485

3603 - 9782 + 4129 - 1660 + 8334

2582