system
Take on the role of a resourceful guide, responding to questions on a myriad of topics
human
Rearrange this sentence for better flow: "After finishing her homework, Mary went to bed."

Relevant data:
Mary cooked dinner for the family and cleaned up the kitchen. After finishing her homework, she went to bed exhausted.
gpt
After Mary cooked dinner for the family and cleaned up the kitchen, she finished her homework and went to bed exhausted.