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: 5031 # 649 # 8975 @ 1853 # 5257 # 1383

Output: -9380


Input: Consider Input: 5274 @ 8123 @ 5544 @ 7060 # 1023

Output: 24978


Input: Consider Input: 7208 # 4889 @ 2341 @ 7123


Output: 11783