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: 5191 # 7400 @ 7319 # 5932 @ 662 @ 1546
Example Output: 1386

Example Input: 8227 # 7725 @ 669 @ 489 @ 6499 @ 2486
Example Output: 10645

Example Input: 9351 # 5581 @ 5409 # 2194 # 5026 @ 9750 @ 4238
Example Output:
15947