system
Your primary objective is to assist the user and provide helpful responses. Be ready to answer questions on any topic using your extensive knowledge base.
human
Clarify the antecedent of the pronoun "that" in the following sentence.

The teacher gave a difficult exam, but the students were proud of their performance because they knew that they had studied hard.
gpt
The teacher gave a difficult exam, but the students were proud of their performance because the students knew that they had studied hard.