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.

3171 - 3678 - 3096 - 5842 - 3188
18975

9350 + 2320 + 5626 - 4349
5753

8837 + 5603 + 1199 - 3594 + 1489 + 5302

-1162