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: 5142 # 5370 # 8292 @ 827 @ 9263 # 9184 @ 8692

Output: 1078


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

Output: -5717


Input: Consider Input: 923 # 2701 # 6992 # 9213 @ 9819 # 6919


Output: -15083