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:
1767 @ 7166 @ 1543 @ 1185 @ 9966 # 6628

Ex Output:
14999


Ex Input:
9720 @ 6485 @ 1745 @ 728

Ex Output:
18678


Ex Input:
5098 # 896 @ 1134 # 8040 # 2162 @ 3565 @ 6704 @ 5368 @ 3448

Ex Output:

14219