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:
9582 @ 3554 @ 1044 @ 880 # 6787 # 6161

Ex Output:
2112


Ex Input:
1721 # 7193 # 7392 # 8999 # 7847 @ 5571 @ 4439 @ 7158 # 6030

Ex Output:
-18572


Ex Input:
4163 # 4347 @ 7910 @ 1782 @ 2123 @ 3368 @ 6689 # 7825 # 1781

Ex Output:

12082