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.

8967 + 529 - 1163 - 2651 + 7174 - 2929
8007

556 + 5223 - 5888 + 4866
-3645

8403 + 1868 + 5827 + 5471 - 3746 + 1027 - 5777

3733