Task: Story Composition
Input (English): Beginning: James stopped at the gas station for gas. Middle: James forgot to cap his tank. Ending: He pulled over to put back the gas cap on his car.
Output (English): James put the gas cap on his gas tank at the station.