Task: Story Composition
Input (English): Middle: Jack decided to get a pet. Ending: Jack finally got a dog of his own and wasn't lonely anymore.
Output (English): Jack was a lonely little boy.