Input (grade 12): Bates, a Republican, served in the Massachusetts House of Representatives from 1894 to 1899; from 1897 to 1899 he was Speaker of the House.
Output (grade 12): He was a Republican, and was a member of the Massachusetts House of Representatives from 1894 to 1899; from 1897 to 1899 he was Speaker of the House.