Task: Mathematics
Input (English): 7023 @ 8210 # 166 @ 3635 # 3473 @ 4067 # 8741 @ 3721 # 6161
Output (English): 8115