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: Sandy needed a car. 
 Initial Context: She went to a dealership and looked around. 
 Original Ending: Finally, she selected an affordable car. She filled out the paperwork and made a down payment. Afterwards, she drove home in her new car. 
 Counterfactual Context: She never went to dealerships.

Ex Output:
She selected an affordable car she found on Craigslist. She filled out the paperwork and made a down payment with the previous owner. Afterwards, she drove home in her new used car. 


Ex Input:
Premise: Last month I took my very first trip to New York City. 
 Initial Context: I was super excited to stay near Central Park. 
 Original Ending: The trip was going well until I got bitten by a stray dog. I had to be rushed to the hospital. Thankfully I was alright but it was still scary. 
 Counterfactual Context: Unfortunately, a snowstorm cancelled my flight.

Ex Output:
The trip was still going to happen as I caught the next flight. I had to be rushed to the next gate. Thankfully I was on time but it was still scary. 


Ex Input:
Premise: Allen was out one night doing some Christmas shopping. 
 Initial Context: He thought he saw his friend off in the distance. 
 Original Ending: He decided to sneak up and scare him. He crept up and grabbed his friend from behind. Allen felt terrible when he realized he'd grabbed a stranger. 
 Counterfactual Context: His friend saw him off in the distance.

Ex Output:

He decided to sneak up and scare him. He crept up and grabbed his friend from behind. His friend laughed when he saw how scared Allen got. 


