Task: Story Composition
Input (English): Beginning: John had worked hard on his homework but couldn't find it anywhere. Ending: John didn't know what to do.
Output (English): John was worried that he would fail.