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:
5265 @ 8995 # 365 # 6720 @ 438 # 9846 # 1190 @ 1943 # 9835

Ex Output:
-11315


Ex Input:
581 # 2278 @ 452 # 5411 # 7564 @ 8148 # 2350 # 8956 # 4877

Ex Output:
-22255


Ex Input:
3538 @ 3187 @ 4464

Ex Output:

11189