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

Input: Consider Input: 2919 # 2741 @ 497 @ 5230 @ 5250 @ 1797 # 4567 @ 8995 @ 6960

Output: 24340


Input: Consider Input: 5211 # 3266 @ 3042 @ 254 # 7823 @ 4298 # 8042 # 1629 # 6738

Output: -14693


Input: Consider Input: 3900 # 6846 # 255 # 1980 # 1631 # 2276 @ 1407 @ 9864 @ 3606


Output: 5789