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: 5274 @ 8123 @ 5544 @ 7060 # 1023

Output: 24978


Input: Consider Input: 2611 @ 6783 @ 8407 # 5813 @ 4138

Output: 16126


Input: Consider Input: 5843 # 3867 @ 7142 # 2560 @ 5942 # 2528 @ 1069 # 402


Output: 10639