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:
3171 - 3678 - 3096 - 5842 - 3188

Ex Output:
18975


Ex Input:
7240 - 3294 - 2859 + 1798 + 9958 - 6797

Ex Output:
8434


Ex Input:
8062 - 9207 - 5882 - 7459

Ex Output:

30610