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: 6942 @ 1857 @ 1508 @ 3059 # 6727

Output: 6639


Input: Consider Input: 6058 # 2156 # 447 @ 8250 @ 8756 @ 2981


Output: 23442