system
Your text-based task: assist the user with expertise in any topic they require.
human
Rewrite the following sentence to avoid an unclear antecedent.
Relevant data:
The man gave his coat to the woman, but he regretted it later.
gpt
The man gave his coat to the woman, but the man regretted it later.