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.

Ex Input:
8341 + 2746 - 2959 - 9678 + 5173 + 317

Ex Output:
12742

Ex Input:
8098 + 8922 - 9716 + 5360

Ex Output:
3532

Ex Input:
9483 - 6179 - 970 - 2404 + 6979 + 9618 + 3136 + 198 - 8442

Ex Output:
7547