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

6245 + 6705 - 5181 + 7350 - 5051 - 8984 - 476 + 3773
8109

3978 - 2215 - 6367 - 3701

16261