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:
5027 @ 4058 # 8225 @ 9216 # 3101 @ 8259 # 2376 # 6826 # 8997

Ex Output:
-2965


Ex Input:
9720 @ 6485 @ 1745 @ 728

Ex Output:
18678


Ex Input:
8152 @ 5089 # 5325 @ 8670

Ex Output:

16586