Task: Story Composition
Input (English): Beginning: David's dog ran away. Middle: David looked everywhere but the backyard.
Output (English): He found his dog wagging his tail in the backyard.