Input (grade 10): The agreement was ratified by the states of Connecticut, Massachusetts, New Hampshire, and Vermont.
Output (grade 6): The river flows through the U.S. states of New Hampshire, Vermont, Massachusetts, and Connecticut.