Input (grade 6): The state was named after the southern English county of Hampshire.
Output (grade 8): New Hampshire was a British colony before the American War of Independence.