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: 2598 # 1930 @ 3599

Output: 4267


Input: Consider Input: 3650 @ 6933 # 2791 @ 4998 @ 2771 @ 6135


Output: 21696