Input (grade 13): Abigail Adams (née Smith) (November 11, 1744 October 28, 1818) was the wife of John Adams, who was the second President of the United States, and mother of John Quincy Adams, the sixth.
Output (grade 10): Abigail Smith Adams (November 11, 1744 - October 28, 1818) was the wife of John Adams, the second President of the United States. In next ten years, she had five children (a sixth was stillborn), including John Quincy Adams, the sixth President of the United States.