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:
2036 # 2136 @ 2740 # 8018 # 8379 @ 5952 # 3539 # 1201 # 5870

Ex Output:
-18415


Ex Input:
5768 @ 319 # 2546 @ 5236 # 6529 # 5734 @ 7926

Ex Output:
4440


Ex Input:
6750 @ 5215 @ 6695 # 5206 @ 4211 # 838 # 897

Ex Output:

15930