Task: Mathematics
Input (English): 685 @ 1838 @ 7652 @ 8188 @ 9347 @ 974 @ 1436 # 7717
Output (English): 22403