Task: Story Composition
Input (English): Beginning: Tom wanted to go shopping for groceries. Middle: Tom drove to the grocery store and bought food. Ending: He returned home with the groceries.
Output (English): Tom drove to the store and bought pants.