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:
463 @ 7844 # 9816

Ex Output:
-1509


Ex Input:
2367 @ 4877 @ 8467 @ 5488 # 987 # 8899

Ex Output:
11313


Ex Input:
6032 # 9717 @ 9400 # 9590 @ 4162 @ 5371 # 5143

Ex Output:

515