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: 381 # 4084 # 9377 # 3092
Example Output: -16172

Example Input: 8441 @ 2924 # 9024 @ 6661 @ 7034 # 4821 # 4921
Example Output: 6294

Example Input: 4055 @ 5022 @ 9151 # 1747 @ 9172
Example Output:
25653