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

Ex Input:
4130 @ 6495 # 3973

Ex Output:
6652


Ex Input:
9337 # 8816 @ 7801 @ 8011 @ 8821 @ 966 @ 1854

Ex Output:
27974


Ex Input:
2277 @ 7837 # 5346 @ 9854 @ 2141

Ex Output:

16763