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: 8842 @ 3530 @ 7537

Output: 19909


Input: Consider Input: 7720 @ 5171 # 6139 @ 480

Output: 7232


Input: Consider Input: 7555 @ 8285 @ 7132 @ 9363 # 3515


Output: 28820