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: 519 @ 9686 @ 3145 # 9320

Output: 4030


Input: Consider Input: 8744 # 3978 # 8946 @ 8636 @ 7966 # 7353 @ 7448 # 4589 @ 7749


Output: 15677