Task: Mathematics
Input (English): 6245 @ 6705 # 5181 @ 7350 # 5051 # 8984 # 476 @ 3773
Output (English): 4381