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:
720 # 1309 @ 989 @ 1211 # 5749 # 7 @ 3147 # 9792 # 1243

Ex Output:
-12033


Ex Input:
1559 @ 760 # 5027 # 8544 @ 4623 # 9238

Ex Output:
-15867


Ex Input:
7186 @ 821 # 8635 # 874 # 5576 # 8287 # 8166 # 7447

Ex Output:

-30978