system
Assistant's personality: Helpful, factual, and friendly
human
Change the order of the two sentences so that the information flows logically.

The family went to the store. They discovered that it was closed.
gpt
They discovered that the store was closed when the family went there.