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: Ed had a heart attack. 
 Initial Context: He was rushed to the hospital. 
 Original Ending: There, the doctors told him he had to change his life. He had to eat healthier and cut out junk food. Ed agreed, fearful for his health. 
 Counterfactual Context: He had a rare heart condition.

Output: There, the doctors told him he had to change his life. He had to eat healthier and cut out junk food. Ed agreed, fearful for his health. 


Input: Consider Input: Premise: Bill broke his phone. 
 Initial Context: He didn't have money to get it fixed. 
 Original Ending: He put flyers in all the mailboxes on his street. He would mow any size lawn for $25. He made enough to get his phone fixed in just one weekend. 
 Counterfactual Context: Luckily, he had insurance on it.

Output: The company quickly sent him a new one and it got delivered to his mailbox. He had to pay a small charge of $25. He thought that was a great price to have a brand new phone by that weekend. 


Input: Consider Input: Premise: Gina was afraid to go to the principal's office. 
 Initial Context: But her teacher decided she was being disruptive to the class. 
 Original Ending: She was in the hall outside her class. She decided to go back in the class and apologize to the teacher. The teacher accepted and she was not forced to go to the office. 
 Counterfactual Context: So her teacher knew that was why she was always being helpful to the class.


Output: She was asked to meet someone in the hall outside her class. She wanted to go back in the class and help the teacher. The person agreed and she went back to the classroom. 


