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: 1815 - 3167 - 773

A: 5755
****
Q: 8213 - 7166 - 3524 + 2770 + 767 - 3629 - 7894

A: 26889
****
Q: 6809 - 1630 - 6008 - 5102 + 9905

A:
9644
****