Multi-choice problem: Which entity is they this sentence?

When the preschoolers visited the senior citizens, they were very hospitable.

Options are:
(i) the preschoolers
(ii) the senior citizens
(ii)