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: 6844 @ 1340 # 4174 # 5664 @ 4911 # 5241

Output: -1984


Input: Consider Input: 9546 @ 5515 @ 6740 # 2069 # 921 # 9110 # 5067 # 3917 # 6434

Output: -5717


Input: Consider Input: 8839 @ 4786 # 7068 @ 5502 @ 1623 # 1959 # 8567 @ 3743 @ 4578


Output: 11477