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: Jimmy Carr was a speedster. 
 Initial Context: He would go out at night and race his friends on old country roads. 
 Original Ending: One night, Jimmy was racing and had almost won. A cow ran out onto the road in front of him. Jimmy slammed into the cow and flew from his car and hit the pavement. 
 Counterfactual Context: He would go out at night and race his friends on the city highway.

Ex Output:
One night Jimmy was racing and had almost won. A bicycle rolled out onto the road in front of him. Jimmy slammed into the bicycle and flew from his car and hit the pavement. 


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: Matt wanted to be a comedian. 
 Initial Context: He came up with an act and decided he was ready. 
 Original Ending: He called up a local comedy club and managed to book a spot. He went on stage and did his act. Nobody thought he was funny. 
 Counterfactual Context: He studied his act but still wasn't ready.

Ex Output:

Matt kept working at it and then decided he was ready. He went on stage and did his act. Nobody thought he was funny. 


