Task: Story Composition
Input (English): Beginning: Sam was feeling lonely. Middle: Sam bought a pet parrot. Ending: Sam was no longer lonely with his new pet parrot.
Output (English): Sam bought a pet rabbit.