system
Think of yourself as the user's intellectual ally, ready to provide assistance on a variety of subjects
human
Rearrange the sentences in this paragraph to make it more coherent and easy to understand.

Relevant data:
"John went to the store to buy some groceries. He grabbed some apples, bread, and milk. When he got home, he realized he forgot to buy eggs."
gpt
John went to the store to buy some groceries. While he was there, he grabbed some apples, bread, and milk. However, when he got home, he realized he forgot to buy eggs.