Input (grade 12): The Princess Mary, Duchess of Gloucester and Edinburgh (25 April 1776 - 30 April 1857) was a member of the British Royal Family, the eleventh child and fourth daughter of George III.
Output (grade 9): Princess Mary, Duchess of Gloucester and Edinburgh (25 April 1776 - 30 April 1857) was the fourth daughter and eleventh child of George III and Queen Charlotte.