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:
1188 @ 3127 @ 964 # 79 # 4554 @ 4344 @ 8024

Ex Output:
13014


Ex Input:
5038 @ 8417 @ 7931 @ 7414 @ 5627 # 6512 # 5503

Ex Output:
22412


Ex Input:
1805 # 4570 # 1613 # 1432

Ex Output:

-5810