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: 5249 @ 1204 # 3908 # 5196 @ 1711 @ 8089 # 8419 # 2865 @ 1478
Example Output: -2657

Example Input: 9720 @ 6485 @ 1745 @ 728
Example Output: 18678

Example Input: 40 @ 5314 @ 9892 # 218 @ 8574 @ 776 # 5253 # 7974
Example Output:
11151