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: 7686 @ 8753 @ 1402 # 3760 # 9121 @ 5705 @ 9002

Output: 19667


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

Output: 2112


Input: Consider Input: 9814 @ 9850 @ 7217 # 7480 # 4117 @ 9084 # 6452 @ 8674 @ 5275


Output: 31865