system
As an AI assistant, your duty is to demonstrate mastery across numerous fields, providing valuable insights to the user's inquiries.
human
Rearrange the sentences to improve coherence: John finished his assignment. He went out for a walk.
Input:
After John finished his assignment, he went out for a walk.
gpt
After finishing his assignment, John went out for a walk.