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.

Input: Consider Input: Premise: Angie was baking a cake. 
 Initial Context: She fell asleep while waiting for the oven. 
 Original Ending: Eventually the house burned down. Angie was burned to death. There was nothing the firefighters could do to saver her. 
 Counterfactual Context: She woke up as the cake was done and ready to eat.

Output: When she was asleep she had a nightmare that the house burned down. That she burned to death. That there was nothing the firefighters could do to save her. 


Input: Consider Input: Premise: Kate wanted to get snacks for the road trip. 
 Initial Context: She bought a few bags of nuts, and some water. 
 Original Ending: Back on the road she was eating her nuts. One person got no snacks and kept mooching nuts from Kate. Kate was fuming over having to share with the greedy moocher. 
 Counterfactual Context: She bought enough food for everyone.

Output: Back on the road she was eating her nuts. One person finished all his snacks and kept mooching nuts from Kate. Kate was fuming over having to share all over again with the greedy moocher. 


Input: Consider Input: Premise: Terri wanted a cat. 
 Initial Context: Terri's husband did not like cats. 
 Original Ending: One day Terri snuck a cat in the house. While her husband was sleeping, the cat climbed on his lap. Terri's husband likes cats now. 
 Counterfactual Context: Terri's husband did not like dogs..


Output: One day, Terri brought a cat home. While her husband was sleeping, the cat climbed on his lap. Terri's husband woke and was happy to see it was a cat and not a dog. 


