Task: Story Composition
Input (English): Beginning: Sam started to get headaches. Middle: Sam had to go to the doctor. Ending: Sam was diagnosed with migraines.
Output (English): Sam had to go to the dentist.