Task: Story Composition
Input (English): Beginning: Tom was very hungry. Ending: He ate at the market.
Output (English): Tom had walked for a very long distance.