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:
8780 # 5826 # 420 @ 8814 @ 5786 # 1725

Ex Output:
15409


Ex Input:
720 # 1309 @ 989 @ 1211 # 5749 # 7 @ 3147 # 9792 # 1243

Ex Output:
-12033


Ex Input:
4842 @ 1663 # 1132 # 8852 # 6708 @ 9661 @ 8501 # 4762

Ex Output:

3213