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.

Example 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.
Example 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. 

Example Input: Premise: Sandy and her family live right next to the river. 
 Initial Context: During a powerful storm, the river rose extremely high. 
 Original Ending: Sandy kept an eye on the water as it inched closer to her home. She knew they needed to evacuate before they had no way out. Taking very things, they quickly left as water seeped into their home. 
 Counterfactual Context: During a rainy storm, the river luckily did not rise very high.
Example Output: Sandy kept an eye on the water in case it inched closer to her home. She knew if it did they would need to evacuate before they had no way out. Packing all their things, they watched in case water seeped into their home. 

Example Input: Premise: I went to a funeral the other day. 
 Initial Context: It was a very sad affair. 
 Original Ending: We talked about how much we were going to miss him. And we shared a lot of happy stories. Although it was sad, it was good to remember all those stories. 
 Counterfactual Context: I did not know the deceased, who was a friend of my wife's.
Example Output:
Everybody talked about how much they were going to miss him. And they shared a lot of happy stories. Although it was sad, it was good to hear all those stories. 

