You will be given a definition of a task first, then some input of the task.
Given a premise, an initial context, an original ending, and a new ending, the task is to generate the counterfactual context that is aligned with the new ending. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context. The original ending is the last three sentences of the story. Also, you are given a new ending that can provide the new story with the same premise. You should write a counterfactual context to explain the small differences between the original and new endings. More specifically, a story context contains the general plot of the story. And a counterfactual context is a slight modification to the initial context. To sum up, you should write the second sentence of a story based on the premise(first sentence) and the new ending(last three sentences) of the story.

Premise: A farmer bred cows on the farm. 
 Initial Context: One day he found our one cow was missing. 
 Original Ending: He took his dog Pugsley. They tried to find the cow. Pugsley found a cow in the woods. 
 New ending: He called to his dog Pugsley. They tried to find the toy Pugsley had been playing with. Pugsley found the toy and they headed home. 
Output:
All his cows were accounted for so he closed them in their enclosure.