Input (grade 12): His maternal grandparents were Prince Philippe of France and his first wife Princess Henrietta Anne, the youngest daughter of King Charles I of England and Henrietta Maria of France.
Output (grade 12): His maternal grandparents were Prince Philippe of France and his first wife Henrietta of England, daughter of Charles I of England and Queen Henrietta Maria.