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: 1731 # 9932 # 4056 # 2303

Output: -14560


Input: Consider Input: 9741 # 8583 @ 2183 # 5623 @ 4144 # 4064 @ 3416 @ 9350 @ 4931

Output: 15495


Input: Consider Input: 968 @ 4339 # 8059 # 4427 @ 4812 # 6274 @ 9781 @ 7243 # 8354


Output: 29