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: 6110 @ 5036 # 9621 @ 7662 # 3509 # 7697 # 1663 @ 9388

Output: 5706


Input: Consider Input: 4326 # 2636 @ 9431 # 1021 # 6603 # 2905 # 80 # 7174 # 3558

Output: -10220


Input: Consider Input: 3882 @ 9437 @ 4546 @ 145


Output: 18010