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: 6607 @ 8561 @ 5571 # 6468 @ 8173 # 7134 @ 2102 # 7688

Output: 9724


Input: Consider Input: 2167 # 8760 # 4771 # 8633 @ 7929 @ 9784 @ 6892

Output: 4608


Input: Consider Input: 5989 @ 460 @ 1448 # 8968 @ 4991 # 2069 # 3957 # 2989 @ 5365


Output: 270