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.

Example Input: Premise: Micky needed a present for his girlfriend.
Initial Context: He looked all over the store and finally settled on perfume.
Original Ending: The lady at the counter began spraying. Micky smelled sample after sample. After smelling too many samples, Micky opted for chocolates.
Counterfactual Context: He bought her earrings.
Example Output: He considered also buying her perfume. Micky smelled sample after sample. After smelling too many samples, Micky opted to give chocolates with the earrings.

Example Input: Premise: Will was driving his truck.
Initial Context: While driving he hits a rock.
Original Ending: His stops his truck and gets outside to look. He has a flat tire. He calls his friends to come and help him fix his flat tire.
Counterfactual Context: While driving he hits a homeless man and is sent to jail for manslaughter.
Example Output: The police takes a look at his truck. There is a flat tire. They call a towing service to come get the truck.

Example Input: Premise: Joe went for a jog in the park.
Initial Context: A skunk stepped out in front of him.
Original Ending: Joe couldn't stop and stepped right on top of it. The skunk sprayed him with its foul stench. Joe managed to finish his jog before passing out in disgust.
Counterfactual Context: A bear stepped out in front of him.
Example Output:
Joe couldn't stop and stepped right in front of it. Joe was terrified and tried to run away. Joe managed to finish his jog before passing out in fear.