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: There was a stray cat named Sampson.
Initial Context: He was shy, but he approached a stranger one day.
Original Ending: That stranger picked him up and brought him home. The stranger took care of Sampson for the next week. Sampson woke up in a shelter the next morning.
Counterfactual Context: Someone took him home and kept him.
Example Output: It was a stranger that picked him up and brought him home. The stranger took care of Sampson for the rest of his life. Sampson woke up on a couch every day of his life.

Example Input: Premise: A boy looked at an apple tree and saw the fruit at the top.
Initial Context: He felt like that was the best fruit on the tree.
Original Ending: So the boy climbed high into the tree to get it. He had to reach out his hand to grab the topmost fruit. He grabbed the apple and climbed back down the tree.
Counterfactual Context: He felt like that was the worst fruit on the tree.
Example Output: So the boy did not climb high into the tree to get it. He did not have to reach out his hand to grab the topmost fruit. He left the apple and climbed back down the tree.

Example Input: Premise: Amy and her friends were walking to the store.
Initial Context: It was a cold October day.
Original Ending: Amy had slept at Lynn's and only brought a jacket. Now she wished she had a coat. Amy made them walk faster to get to the store and out of the cold.
Counterfactual Context: It was a warm summer day.
Example Output:
Amy had slept at Lynn's and only brought pants. Now she wished she had shorts. Amy made them walk faster to get to the store and out of the heat.