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

9982 + 267 - 3418 + 8741 - 63 - 1771 + 4720
1506

1916 + 5847 + 4371

-8302