Task: Story Composition
Input (English): Beginning: Tom was hungry and didn't know what to eat. Ending: He turned around and decided to cook instead.
Output (English): Tom wondered what he had in his pantry.