Task: Story Composition
Input (English): Beginning: Jack went on a trip to the store. Middle: He needed eggs to bake a cake. Ending: The clerk told him to find the eggs.
Output (English): He needed flour to bake a cake.