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: Pete was hungry. 
 Initial Context: He looked in the kitchen for something to eat. 
 Original Ending: All he could find were crackers. After a while, he found a jar of peanut butter. He enjoyed his small, tasty snack. 
 Counterfactual Context: He looked in the grocery store for something to eat.

Ex Output:
There were so many options at the store. After a while, he settled on a jar of peanut butter and crackers. He enjoyed his small, tasty snack. 


Ex Input:
Premise: Charles intended to run for mayor in his city. 
 Initial Context: His rival Ron was a bitter rival. 
 Original Ending: Ron used dirty tactics to try to discredit Charles during the election. Charles was tempted to use similar strategies, but resisted. In the end, Charles won the election and became mayor. 
 Counterfactual Context: His rival Bob was a bitter rival.

Ex Output:
Bob used dirty tactics to try to discredit Charles during the election. Charles was tempted to use similar strategies, but resisted. In the end, Charles won the election and became mayor. 


Ex Input:
Premise: When I moved overseas recently, i was super excited to bring my bike. 
 Initial Context: I'd just bought a new bike and didn't want to damage it in the move. 
 Original Ending: So I bought a fancy travel case to make sure it would be safe. I packed my bike with care in the new case and brought it on the plane My bike arrived safely at my new home but I have yet to ride it here. 
 Counterfactual Context: I was disappointed to learn it was impossible to ship.

Ex Output:

So I bought a lock to make sure it would stay safe in storage. I packed my bike with care along with other things I couldn't take on the plane. Hopefully, my bike will stay safe. 


