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: Susan wanted some coffee. 
 Initial Context: She went into the kitchen and looked at the pot. 
 Original Ending: She filled the pot with water and put in coffee grounds. Then she turned it on. Soon there was coffee. 
 Counterfactual Context: She went out to buy some coffee.

Ex Output:
She filled her cart and put in coffee grounds. Then she drove home. Later there was coffee. 


Ex Input:
Premise: I kept hearing a strange noise in the apartment. 
 Initial Context: I was worried that it was mice. 
 Original Ending: I went to the source of the noise. It seemed to becoming from the AC. I opened the blinds to see a group of birds hopping around on the AC. 
 Counterfactual Context: It was coming from the unit next door.

Ex Output:
I asked the neighbors about the source of the noise. They said it seemed to be coming from the AC. They opened the blinds to see a group of birds hopping around on the AC. 


Ex Input:
Premise: Josh wanted to get into gardening. 
 Initial Context: He learned everything he could about the topic. 
 Original Ending: Josh dedicated a half acre plot of land to his new garden. He planted several different crops. His new garden flourished. 
 Counterfactual Context: He loved floral plants and greenery.

Ex Output:

Josh dedicated a half acre plot of land to his new garden and floral plants. He planted several different plants. His new garden flourished. 


