Input (grade 6): Hector was Priam's eldest son by Hecuba, and heir to the Trojan throne.
Output (grade 5): Priam had several wives, but his principal wife was Hecuba. With her he had his favorite son Hector, and Paris.