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.

8838 + 1241 - 4918 - 8353 - 4691 - 5880
31439

1626 + 448 + 6034
-4856

9167 - 3436 + 1958

10645