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: Tom went to a coffee shop. 
 Initial Context: He was working on his laptop. 
 Original Ending: He saw a friend named Susan. He walked over to Susan. He began talking with this friend Susan. 
 Counterfactual Context: He bought coffee and went out.

Ex Output:
He saw a friend named Susan. He walked over to Susan. He began talking with this friend Susan. 


Ex Input:
Premise: When I went to take my driving test my brother had me drive there. 
 Initial Context: I did fine up until parking by the DMV. 
 Original Ending: I accidentally side-swiped an old car while parking. My brother got very mad and had me stop. He told me that he would drive me home and we'd try again later. 
 Counterfactual Context: I parked and sat for a while to gain courage to go inside.

Ex Output:
Then during the test I accidentally side-swiped an old car while parking. My tester got very mad at me and we had to stop. He told me I failed my test, I'd have to go home and try again later. 


Ex Input:
Premise: Glen was hired to design the exterior of a building. 
 Initial Context: He went home and designed a very ambitious design. 
 Original Ending: He took it to the company and they loved it. They began construction on Glen's design. After the building was done, Glen received a lot of attention. 
 Counterfactual Context: He went home and could not come up with a design.

Ex Output:

He took nothing to the company and they were angry. They began construction on someone else's design. After the building was done, Glen received no attention. 


