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: 123 # 6452 # 5554 # 9261 @ 6646

Output: -14498


Input: Consider Input: 6060 @ 2846 @ 4249 @ 6831 @ 5191 @ 3711 # 352 # 2921 @ 5640

Output: 31255


Input: Consider Input: 6163 @ 7356 @ 5264 # 4766 @ 9373 @ 1271


Output: 24661