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: 7483 @ 4061 @ 195 # 1982 @ 5673 # 6623 @ 9661 @ 7613

Output: 26081


Input: Consider Input: 1070 @ 5674 @ 50 # 2252

Output: 4542


Input: Consider Input: 7449 @ 5510 # 2733 # 760 @ 1168 # 140 @ 967


Output: 11461