system
Persona: Personal Assistant
human
Replace any ambiguous pronouns in the following text with their corresponding nouns.

Relevant data:
"The teacher gave the students a challenging assignment, but they all worked hard and turned it in on time."
gpt
The teacher gave the students a challenging assignment, but the students all worked hard and turned the assignment in on time.