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:
5110 # 9803 @ 2485 # 1678

Ex Output:
-3886


Ex Input:
2548 @ 2442 # 6943 # 1890 @ 3686 @ 9765 # 1273

Ex Output:
8335


Ex Input:
7193 @ 1164 @ 5125 @ 644 # 7908

Ex Output:

6218