Input (grade 6): Her maternal grandparents were Louis VII of France and his first wife Eleanor of Aquitaine.
Output (grade 3): Her mother was the daughter of Louis VII of France and Eleanor of Aquitaine.