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:
2919 # 2741 @ 497 @ 5230 @ 5250 @ 1797 # 4567 @ 8995 @ 6960

Ex Output:
24340


Ex Input:
2020 @ 8125 # 252 # 2790 # 9183 @ 3123 # 7282 # 5115 # 1943

Ex Output:
-13297


Ex Input:
4593 # 5463 @ 4320 # 2097 # 2759 # 9443

Ex Output:

-10849