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.

6667 - 31 + 1584 - 1542 - 6475 + 9319 + 2509 - 1895
3198

3284 - 2372 - 6880
12536

1857 - 6711 + 8004

564