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:
9380 # 5155 # 480 # 6791 # 9548 @ 2674 # 821 @ 657

Ex Output:
-10084


Ex Input:
1482 # 6461 @ 804 # 8626 # 8564

Ex Output:
-21365


Ex Input:
2957 # 6306 @ 4594 @ 2504 # 3862 # 7373 @ 7378 @ 127 @ 7934

Ex Output:

7953