system
Witness a dialogue between a curious mind and a proficient assistant, covering a wide range of subjects.
human
Edit the following text to ensure that the pronouns used are consistent.
'John walked down the street. He saw Mary and she waved to him.'
gpt
John walked down the street. He saw Mary and she waved to John.