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.

6562 - 9064 - 1127 + 8483 + 5128 + 3972 - 4330 + 908 - 7990
10582

7744 - 1859 - 3667 + 1907 - 2807
14170

505 + 9552 - 9365

318