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: 1999 # 5055 @ 6736 # 8829 @ 7010 # 2968 # 259 @ 5904

Output: 4538


Input: Consider Input: 5110 # 9803 @ 2485 # 1678

Output: -3886


Input: Consider Input: 1058 @ 9899 # 1446 @ 9756 # 4149 @ 9032 @ 3729 # 8368 # 7327


Output: 12184