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

Input: Consider Input: 9582 @ 3554 @ 1044 @ 880 # 6787 # 6161

Output: 2112


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

Output: -12033


Input: Consider Input: 2997 @ 7619 # 734 @ 3165 # 1809


Output: 11238