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: 497 # 7667 # 405 # 5403 @ 8444 @ 5031 # 1411 # 2392

Output: -3306


Input: Consider Input: 1365 # 3902 @ 5909

Output: 3372


Input: Consider Input: 189 # 9639 # 6950 @ 1763 @ 1978 # 7659 @ 8156


Output: -12162