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: Jon was applying to college.
Initial Context: He couldn't figure out what to major in.
Original Ending: His friends recommended computer science. Jon researched computer science and liked what he read. He decided to major in computer science.
Counterfactual Context: He was majoring in Business.
Example Output: His friends recommended computer science. Jon researched computer science and liked what he read. He decided to switch his major to computer science.

Example Input: Premise: A mom was making cookies with her son.
Initial Context: Together, they mixed up the dough in a big bowl.
Original Ending: Then, they rolled the dough out on a table and cut shapes from it. After the shapes were all cut out, they baked them in the oven. When the cookies were done, they decorated them.
Counterfactual Context: Together, they pulled the cookies out of the oven.
Example Output: Then, they transferred the hot cookies onto a rack to cool. After the cookies were all cool, they each ate one. When the cookies were all gone, they made more.

Example Input: Premise: My sister has a son named Noah.
Initial Context: She also has two young daughters who adore their brother.
Original Ending: When they met their teacher at church her name was Noah. They thought that was really funny. Now they call her Girl Noa to distinguish her from their brother.
Counterfactual Context: Noah does not like family jokes.
Example Output:
When they met their teacher at church she joked about his name. They thought that was really funny. But Noah hated that he was being singled out and distinguished from the other kids.