Task: Mathematics
Input (English): 614 # 1807 # 2888 @ 3499 # 385 @ 8871 # 1680 @ 6848
Output (English): 13072