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:
722 # 9533 @ 3199 @ 4825 @ 817

Ex Output:
30


Ex Input:
2113 # 9012 @ 5533 @ 5034 # 9159 # 2169 # 9889

Ex Output:
-17549


Ex Input:
2441 # 2654 @ 3280 # 6779

Ex Output:

-3712