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.

Q: 318 - 2977 - 9352 - 3082 - 5224 + 3028 - 7022

A: 24947
****
Q: 5634 - 7997 + 8248 + 1465 - 3986

A: 7904
****
Q: 6863 - 3536 - 9892 - 5824 + 8240

A:
17875
****