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.

1420 - 1910 - 3500 + 9535 + 3807 - 5009 - 1271 - 3426
3194

8849 + 869 + 880 + 8843 + 8122
-9865

9510 - 194 + 3731 + 5795

178