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: 507 @ 3439 # 8086 # 5497 @ 2145 @ 2124 @ 9603 @ 2119 @ 8351

Output: 14705


Input: Consider Input: 1439 @ 4809 @ 6755 # 4840 @ 491 @ 9049 @ 8905 @ 8915

Output: 35523


Input: Consider Input: 8604 @ 9092 # 8119 @ 9875 @ 5675 @ 1666 @ 3494 # 4800


Output: 25487