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:
8196 @ 7820 # 8484 # 7462 @ 8007 # 414

Ex Output:
7663


Ex Input:
5891 @ 5687 @ 6434 # 9679 @ 2950 # 5934 @ 1364 @ 6773

Ex Output:
13486


Ex Input:
8622 # 462 @ 9881 @ 5828 @ 871 # 8265

Ex Output:

16475