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: 580 @ 9980 # 4059 # 4694 @ 8096 # 3324

Output: 6579


Input: Consider Input: 957 @ 7239 @ 9500 # 6530 # 3766 # 6275 # 953


Output: 172