Input (grade 8): When Neoptolemus died, Andromache married Helenus and became Queen of Epirus.
Output (grade 9): After Neoptolemus died, Andromache married Helenus, and became Queen of Epirus.