Input (grade 9): Her maternal grandparents were Henry VII of England and his queen consort Elizabeth of York.
Output (grade 8): Her maternal grandparents were King Henry VII of England and Elizabeth of York.