With no explanation, label each line with "location-GPE", "O", "art-broadcastprogram", "art-film", "art-music", "art-other", "art-painting", "art-writtenart", "building-airport" or "building-hospital" preceded by ":".
He
remains
the
longest-serving
Prime
Minister
of
Spain
to
be
freely
elected
.
He:O
remains:O
the:O
longest-serving:O
Prime:O
Minister:O
of:O
Spain:location-GPE
to:O
be:O
freely:O
elected:O
.:O