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: Scott lost his job. 
 Initial Context: Scott had nobody to turn to. 
 Original Ending: So he went to the liquor store to buy some booze. When he got home he drank all the booze. Weeks went on and Scott developed a drinking problem. 
 Counterfactual Context: Scott had his family to support him during this time.

Ex Output:
He started putting together his resume. The next day he applied to all the jobs he could. A week later and Scott had a new job. 


Ex Input:
Premise: Tom went hiking. 
 Initial Context: He hiked for a long time. 
 Original Ending: He wondered when the trail would end. He finally sat down and cried. Then he looked and saw he was right at the end of the trail. 
 Counterfactual Context: He never hiked for a long time.

Ex Output:

He wondered when the trail would end. He finally sat down and cried about his exhaustion. Then he looked and saw he was right at the end of the trail. 


