Input (grade 10): Lady Margaret Beaufort (31 May 1443 - 29 June 1509) was the mother of King Henry VII and grandmother of King Henry VIII of England.
Output (grade 12): Lady Margaret Beaufort (May 31, 1443 - June 29, 1509) of the House of Lancaster was the mother of King Henry VII of England and grandmother of Henry VIII.