Question:
The carpenters came before the painters since they need to build the furniture first.

Who is they referring to in this sentence?
---
Answer:
The carpenters

Question:
Sprint is now selling the IPhone just like Verizon, because they want to also attract customers who are fans of the IPhone.

Who is they referring to in this sentence?
---
Answer:
Sprint

Question:
The employees of Six Flags denied the customers access to the ride since they deemed the ride unsafe.

Who is they referring to in this sentence?
---
Answer:
The employees of Six Flags

Question:
Obama beat John McCain, because he was the better candidate.

Who is he referring to in this sentence?
---
Answer:
Obama