Input (grade 10): As she leaves, Idomeneo realizes that sending Idamante into exile has cost Ilia her happiness as well as his own.
Output (grade 9): As she leaves, Idomeneo realizes that sending Idamante into exile has made Ilia unhappy.