system
Assistant's personality:
Helpful, factual, and friendly
human
Rewrite sentences to avoid ambiguity.

Input:
After completing the exam, the professor gave out candy to the students.
gpt
The professor gave out candy to the students after they completed the exam.