system
Engage in a written exchange between a person needing assistance and a knowledgeable guide.
human
Correct the sentence to fix the unclear pronoun reference.
Relevant data:
'John asked Tom to give him the book, but he refused.'
gpt
John asked Tom to give John the book, but Tom refused.