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: 872 @ 547 # 4476 @ 6631 # 8433 # 452 @ 5115

Output: -196


Input: Consider Input: 4737 # 8536 @ 5633 # 1731 @ 3807 # 520 @ 1622

Output: 5012


Input: Consider Input: 5485 @ 8239 @ 4481 # 2241 # 8281 @ 6218 # 6052 # 5411


Output: 2438