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

Output: 6579


Input: Consider Input: 2182 @ 8380 # 337

Output: 10225


Input: Consider Input: 47 # 9296 @ 3414 @ 8752 # 7812 # 2029


Output: -6924