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

Example Input: 523 # 5860 # 778
Example Output: -6115

Example Input: 9540 # 9387 # 8692 @ 5008 # 4886 @ 9427 @ 3816
Example Output: 4826

Example Input: 8780 # 5826 # 420 @ 8814 @ 5786 # 1725
Example Output:
15409