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: 3839 # 8343 # 3366 @ 9432 @ 4687 @ 2441 # 89

Output: 8601


Input: Consider Input: 5885 @ 6086 # 2828 # 305 # 6536

Output: 2302


Input: Consider Input: 7217 @ 2604 @ 9974 @ 8133 @ 8987 # 6381 # 7662


Output: 22872


