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:
1569 # 724 @ 3737 @ 6220 # 1360 # 172 # 1027 # 3566 # 9663

Ex Output:
-4986


Ex Input:
2996 @ 6178 @ 7214 # 172 # 3711

Ex Output:
12505


Ex Input:
9598 @ 8478 @ 604

Ex Output:

18680