You will be given a definition of a task first, then some input of the task.
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.

4940 + 5828 - 5341 - 9825 + 7792 - 5311 + 4449 + 661 + 457
Output:
6230
You will be given a definition of a task first, then some input of the task.
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.

4940 + 5828 - 5341 - 9825 + 7792 - 5311 + 4449 + 661 + 457
Output:
user
6230
assistant
You will be given a definition of a task first, then some input of the task.
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.

4940 + 5828 - 5341 - 9825 + 7792 - 5311 + 4449 + 661 + 457
Output:
6230