Input: What is the class year of the alumnus who was born in Colchester , New York and appointed to the United States Naval Academy from that state in 1867 ?
Output: 1871