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.

6284 + 1234 + 9639 + 1470 + 4137 + 9445 + 5309 + 9797 - 4507
-30240

8341 + 2746 - 2959 - 9678 + 5173 + 317
12742

9700 - 6556 - 4983 - 2022 - 6781 + 3288 - 4692 + 1727 + 7030

22689