contestada

Which sentence shows correct subject-verb agreement?

A.
Four adults and a child were trapped, but they were safely rescued.

B.
Four adults and a child was trapped, but they was safely rescued.