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: 2497 # 4988 @ 8200 # 3896 @ 5601 @ 1004

Output: 8418


Input: Consider Input: 1919 @ 7586 # 3931 @ 8451 # 8366

Output: 5659


Input: Consider Input: 2234 # 4803 @ 3505 @ 2022 # 2430


Output: 528


