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.

Ex Input:
Premise: Tim signed up for the wrestling team. 
 Initial Context: After a week he wanted to quit. 
 Original Ending: He would always lose. He practiced really hard. Soon he was the best on the team. 
 Counterfactual Context: After a week he quit.

Ex Output:
He would always lose. He practiced really hard. Soon he was glad to be off the team. 


Ex Input:
Premise: Billy wanted a car. 
 Initial Context: He tried to get a loan but they said he didn't make enough money. 
 Original Ending: Billy couldn't get a better paying job because he didn't have a car. He saved for nine months, until he had enough money for a car. Now that he has a new car and a new job. 
 Counterfactual Context: He didn't need a loan because he had plenty of money.

Ex Output:
Billy had a good paying job that allowed him to afford the car. He had saved for several months so that he could buy the car outright. Now that he has a car, he has an easier time getting to his job. 


Ex Input:
Premise: Allie was having a violin concert. 
 Initial Context: She was excited to be on stage. 
 Original Ending: Yet when she looked for her mother, she couldn't find her. Her mother was late. Thankfully she finally showed up though. 
 Counterfactual Context: She walked off the stage.

Ex Output:

When she looked for her mother, she couldn't find her. Her mother was late to pick her up. Thankfully she finally showed up though. 


