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: 3171 - 3678 - 3096 - 5842 - 3188

A: 18975
****
Q: 4203 - 2197 - 5419 - 9369 + 4447 - 2386 - 94

A: 19221
****
Q: 814 - 2416 - 6171

A:
9401
****