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:
6860 @ 2810 # 1038

Ex Output:
8632


Ex Input:
2984 # 596 # 8941 @ 4235 @ 5264 @ 351 # 3797 @ 7168 # 55

Ex Output:
6613


Ex Input:
5474 @ 1234 # 4461 # 3865 @ 7635 @ 830 @ 5965 # 7856 @ 523

Ex Output:

5479