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: 9776 # 6717 # 9329 @ 6055 # 8635 @ 6132 @ 3374

Output: 656


Input: Consider Input: 3615 @ 7429 @ 6810 # 207 @ 1232 # 5621 @ 6745

Output: 20003


Input: Consider Input: 4609 @ 3044 # 3763 @ 8232


Output: 12122