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.

5945 + 1046 + 9187 + 929
-5217

9634 + 5896 + 2965 + 6949 - 2226 + 9649 - 3599 - 7110
-2890

1176 - 6866 - 9573 - 247

17862