Choose your answer: Who is they in the following sentence?

The red team defeated the blue team because they made the last penalty kick.

(A). The red team. (B). the blue team.
(A).