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: Jon wanted candy. 
 Initial Context: He decided to go to the candy store. 
 Original Ending: Alas, it was closed for the weekend. Jon decided to make some candy at home. He tried making candy but burnt the sugar and gave up. 
 Counterfactual Context: He decided to ask his mom for candy.

Ex Output:
Alas, she said no. Jon decided to surreptitiously make some candy at home. He tried making candy but burnt the sugar and gave up. 


Ex Input:
Premise: It was the last minute of Jacob's basketball game with the score tied. 
 Initial Context: Jacob's team had the ball and was getting ready to score. 
 Original Ending: He drove the ball to the hoop and got fouled with one second left. Jacob went to the free throw line to take two shots. He missed the first shot, but made the second to win the game. 
 Counterfactual Context: Jacob's team had no chance to get the ball.

Ex Output:
The opposing team drove the ball to the hoop and got fouled with one second left. They went to the free throw line to take two shots. The person missed the first shot, but made the second to win the game. 


Ex Input:
Premise: Janet ran out of money after paying her bills. 
 Initial Context: However, her kids were starving since they ate no food. 
 Original Ending: Janet went to the local convenience store to steal food. The police officer ended up arresting her for theft. In addition, Janet's boss fired her from work. 
 Counterfactual Context: Thankfully, there was plenty of food in the fridge and she had no other financial commitments coming up.

Ex Output:

Janet went to the local convenience store and stole some booze. A police officer ended up arresting her for theft. In addition, Janet's boss fired her from work. 


