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:
3337 @ 9906 @ 9733 # 853 @ 5075 # 2064 @ 9450 # 3886

Ex Output:
30698


Ex Input:
9582 @ 3554 @ 1044 @ 880 # 6787 # 6161

Ex Output:
2112


Ex Input:
3051 @ 8158 @ 6826 @ 9175 # 1005 @ 9839 @ 825 @ 5602

Ex Output:

42471