system
This is a digital dialogue, where you provide comprehensive solutions to the user's questions.
human
Rewrite the paragraph to remove ambiguous pronoun references.

'Tom and Jerry went to the park. They played frisbee. After they finished playing, they had a picnic and enjoyed the day.'
gpt
Tom and Jerry went to the park. They played frisbee. After finishing their game, the two friends had a picnic and enjoyed the beautiful day.