Input (grade 12): Meanwhile, Hannibal had defeated Fulvius at Herdonea in Apulia, but lost Tarentum in the following year.
Output (grade 10): Meanwhile, Hannibal had defeated Fulvius at Herdonea in Apulia, but lost Tarentum.