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: 9318 @ 858 @ 9508 @ 5403 # 5141 @ 6503 @ 9412

Output: 35861


Input: Consider Input: 5986 # 3224 # 3957 @ 1893 @ 9453 @ 3954 # 476 # 5750 # 5163

Output: 2716


Input: Consider Input: 2842 @ 9706 # 5281 @ 7441 @ 169 # 948 @ 5189 @ 6510 @ 5289


Output: 30917