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: 2969 - 5770 - 665 + 516 - 1172 + 4904 - 384

A: 5540
****
Q: 7961 - 5474 + 4234 - 4358 - 7627 - 2291 - 9771 + 9867 - 813

A: 24194
****
Q: 9892 + 1687 + 3871

A:
4334
****