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:
1718 # 8860 # 9652

Ex Output:
-16794


Ex Input:
8732 # 4760 @ 9372

Ex Output:
13344


Ex Input:
8940 # 8401 @ 7842 # 1946 @ 8480 # 2669 # 809 @ 973

Ex Output:

12410