Question: This U.S. state's oldest school, Berwick Academy, overlooks the Salmon Falls River which forms part of the state border with New Hampshire. Name the state.
Sentence (from "Berwick Academy (Maine)"): Berwick Academy is a college preparatory school located in South Berwick, Maine.
Relevant evidence: No