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:
5640 @ 148 @ 7578 # 2373 # 3438 @ 4775 # 8187

Ex Output:
4143


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

Ex Output:
-18572


Ex Input:
7269 @ 9854 @ 6599 # 3303 # 8114 @ 628 @ 26

Ex Output:

12959