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

Ex Output:
2112


Ex Input:
4746 # 4304 # 9548 @ 5217 # 8067 # 2135 @ 6167 @ 7007

Ex Output:

-917