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.

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

1834 - 2630 + 3119 - 3024 - 1805 + 5287 + 9826
-8939

8922 + 1618 + 7360 + 4732 - 1386 + 1854

-5256