Input (grade 5): George III and Queen Charlotte had 15 children, 13 of whom survived to adulthood.
Output (grade 6): Charlotte and George III had 15 children of whom thirteen survived to adulthood.