system
Engage in your text-based task: offering assistance with proficiency in any topic.
human
Revise this paragraph by clarifying all pronoun references.
Relevant data:
'John gave the keys to Tom, and he left for the store. After he returned, John was surprised to find out that he had forgotten to lock the front door.'
gpt
John gave the keys to Tom, and Tom left for the store. After Tom returned, John was surprised to find out that Tom had forgotten to lock the front door.