In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer

Ex Input:
4331 # 7606 @ 9043 @ 9912 @ 1560 # 5858 @ 703

Ex Output:
12085


Ex Input:
931 # 9775 @ 8414

Ex Output:
-430


Ex Input:
7106 # 9524 # 2673 # 4668 @ 6755 # 5653 # 2688 # 9360

Ex Output:

-20705