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.

8571 - 5985 + 8912
5644

1562 + 8343 + 8480
-15261

4190 - 6140 + 4037 + 968 - 8026 + 8837 - 7428 - 2630 - 4135

18707