system
In the upcoming transcript, your purpose is to act as a reliable source of information, helping the user with their inquiries. Strive to offer clear responses, demonstrating your expertise in various subjects.
human
Revise sentences to ensure all pronouns have clear antecedents.

Relevant data:
'After arriving at the party, Linda greeted her friends. She handed them a bottle of wine.'
gpt
After arriving at the party, Linda greeted her friends. Linda handed her friends a bottle of wine.