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.

5450 - 7077 + 4877
7650

5989 - 6394 + 3845 + 1679 - 5682 + 8226 - 674 - 1284
6273

9741 - 8583 + 2183 - 5623 + 4144 - 4064 + 3416 + 9350 + 4931

3987