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: 9380 # 5155 # 480 # 6791 # 9548 @ 2674 # 821 @ 657

Output: -10084


Input: Consider Input: 6467 # 8145 # 9388 # 9232

Output: -20298


Input: Consider Input: 1369 # 1532 @ 7787 @ 4172 # 9698


Output: 2098