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: 240 - 438 + 497 - 5901 - 1960 + 4782 + 6400 - 4055

A: 915
****
Q: 3229 + 3176 - 8009 + 6079 - 8090 + 5706 - 3416

A: 7783
****
Q: 5314 - 5661 - 1293 - 5217 + 5518 + 6865

A:
5102
****