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: Jen felt tired at work.
Initial Context: She leaned against a wall to rest a little.
Original Ending: The wall had wet paint on it that she didn't see. When she got up she was covered in paint. Jen left to go home and change.
Counterfactual Context: She drank coffee to wake up.

Ex Output:
She leaned against a wall while drinking her coffee. The wall had been recently painted and she got covered in wet paint. Jen left to go home and change.

Ex Input:
Premise: Sam always felt really sick and uncomfortable.
Initial Context: He decided to read about how he could fix it.
Original Ending: He learned that he didn't drink nearly enough water. He began drinking more water each day. Soon he felt much better.
Counterfactual Context: He got worse and had to be hospitalized.

Ex Output:
He learned that he didn't drink nearly enough water. He began drinking more water each day. Soon he felt much better.

Ex Input:
Premise: Matt visited his family at home.
Initial Context: His mother had made a turkey dinner for his arrival.
Original Ending: Matt and his family sat down and ate the turkey dinner. They ate until they were all very full. Matt was so full that he could barely move, but he was still happy.
Counterfactual Context: His mother had made a steak dinner for his arrival.

Ex Output:
Matt and his family sat down and ate the steak dinner. They ate until they were all very full. Matt was so full that he could barely move, but he was still happy.