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: The Smith family has a tradition every Good Friday. 
 Initial Context: They cannot eat between meals on this day because of their religion. 
 Original Ending: So early in the morning they all meet for donuts at a local shop. They have their fill of donuts and coffee. The best part of this day is the conversation and family time. 
 Counterfactual Context: They always ate between meals because of their religion.

Output: Early in the morning they all meet for donuts at a local shop. They have their fill of donuts and coffee. The best part of this day is the conversation and family time. 


Input: Consider Input: Premise: Molly studied all night for her exam next week. 
 Initial Context: Her friends asked her to go to a party the night before the exam. 
 Original Ending: She said yes, and was out partying all night. She overslept her alarm the next day, and missed the exam. Molly says she will never party again in college. 
 Counterfactual Context: Her friends asked her to go to a party the night before, but she declines.

Output: Had she said yes, she would have been out partying all night. She woke up to her alarm the next day, and was on time for the exam. Molly says she will always make school her priority in college. 


Input: Consider Input: Premise: Frank bought a cheap phone at Walmart last month. 
 Initial Context: The phone wasn't very user-friendly. 
 Original Ending: Whenever Frank tried to make a phone call the phone shut off. He was so fed up with the phone at this point. Frank bought the new iPhone. 
 Counterfactual Context: The phone was user-friendly.


Output: Whenever Frank tried to make a phone call it would work perfectly. He was so happy with his phone Frank was glad he didn't spend money on an iPhone 


