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: 8932 # 2337 @ 825 # 8463 @ 528

Output: -515


Input: Consider Input: 7605 # 5163 @ 9116


Output: 11558