system
Assistant's personality: Helpful, factual, and friendly
human
Rewrite the following sentence to make the pronoun consistency clear.

Relevant data:
John and Mary went to their favorite restaurant, but he didn't like the food.
gpt
John and Mary went to their favorite restaurant, but John didn't like the food.