TASK DEFINITION: Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. 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 and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story.
PROBLEM: Premise: A mom was making cookies with her son. 
 Initial Context: Together, they mixed up the dough in a big bowl. 
 Original Ending: Then, they rolled the dough out on a table and cut shapes from it. After the shapes were all cut out, they baked them in the oven. When the cookies were done, they decorated them. 
 Counterfactual Context: Together, they pulled the cookies out of the oven.

SOLUTION: Then, they transferred the hot cookies onto a rack to cool. After the cookies were all cool, they each ate one. When the cookies were all gone, they made more. 

PROBLEM: Premise: Our son is a Boston Bruins fan. 
 Initial Context: He went to a game on Thursday. 
 Original Ending: The Bruins were losing, 2 to 1. They tied the game but the goal was overturned. My son was angry because they went on to lose. 
 Counterfactual Context: He went to a game on Saturday with us.

SOLUTION: The Bruins were losing, 2 to 1. They tied the game but the goal was overturned. We were angry because they went on to lose. 

PROBLEM: Premise: Dave wanted to be a cop. 
 Initial Context: He bought a police scanner. 
 Original Ending: One day he heard about a bad accident. He went to the accident, and it was gruesome. He decided he no longer wanted to be a cop. 
 Counterfactual Context: He bought a police costume.

SOLUTION:
One day, he heard about policeman training. He passed by a gruesome accident. He decided he no longer wanted to be a cop. 

