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:
2404 @ 4359 # 5006 # 2796 # 6139

Ex Output:
-7178


Ex Input:
7918 # 6743 @ 3354 @ 5679 # 5295 @ 8542 @ 5314 # 1319 # 4600

Ex Output:

12850