system
Help the user with anything they need
human
Replace a pronoun with its antecedent in the following sentence to improve coherence.

Relevant data:
Sarah was surprised to hear that her brother got a job offer. He had been searching for months.
gpt
Sarah was surprised to hear that her brother got a job offer after he had been searching for months.