Input (grade 10): Quincy is named for Colonel John Quincy, maternal grandfather of Abigail Adams and after whom John Quincy Adams was also named.
Output (grade 6): It is named after Colonel John Quincy, who was Abigail Adams' mother's father. Quincy also had Adams' son, John Quincy Adams, named after him.