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:
3298 @ 1140 @ 3407 # 8200 # 7383 # 6043 @ 5264

Ex Output:
-8517


Ex Input:
6896 @ 8548 @ 1670 @ 7550 # 921

Ex Output:
23743


Ex Input:
5637 @ 4855 @ 2776 @ 3854 # 8608 # 182 @ 6214 @ 8146

Ex Output:

22692