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: 5507 @ 4243 @ 5897 @ 7115 # 6687 @ 3875 # 298 @ 1379 @ 1973

Output: 23004


Input: Consider Input: 1916 @ 5847 @ 4371

Output: 12134


Input: Consider Input: 5596 @ 8988 # 333 @ 3658


Output: 17909