With no explanation, label each line with "location-GPE", "O", "organization-education", "art-broadcastprogram", "art-film", "art-music", "art-other", "art-painting", "art-writtenart" or "building-airport" preceded by ":".
He
graduated
from
Amherst
College
in
1855
and
moved
to
Maine
,
where
he
was
the
principal
of
the
Washington
Academy
in
East
Machias
.
He:O
graduated:O
from:O
Amherst:organization-education
College:organization-education
in:O
1855:O
and:O
moved:O
to:O
Maine:location-GPE
,:O
where:O
he:O
was:O
the:O
principal:O
of:O
the:O
Washington:organization-education
Academy:organization-education
in:O
East:O
Machias:location-GPE
.:O