With no explanation, label each line with "location-GPE", "O", "person-politician", "art-broadcastprogram", "art-film", "art-music", "art-other", "art-painting", "art-writtenart" or "building-airport" preceded by ":".
Upon
resumption
of
the
peace
John
Quincy
Adams
took
over
this
post
,
having
relinquished
the
office
of
ambassador
to
Russia
.
Upon:O
resumption:O
of:O
the:O
peace:O
John:person-politician
Quincy:person-politician
Adams:person-politician
took:O
over:O
this:O
post:O
,:O
having:O
relinquished:O
the:O
office:O
of:O
ambassador:O
to:O
Russia:location-GPE
.:O