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: 2900 # 2740 # 1706 @ 6629

Output: 5083


Input: Consider Input: 8929 # 6145 @ 8551 # 1836 @ 9159

Output: 18658


Input: Consider Input: 703 # 5253 @ 7757 @ 2134 # 2333 @ 2583 # 4707 @ 9466 # 8404


Output: 1946