Task: Mathematics
Input (English): 4969 @ 3432 # 6232 @ 4470 # 3898 @ 2657 @ 8518 # 7843
Output (English): 6073