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: When Kathy was pregnant with her first baby, she wanted to make a gift. 
 Initial Context: The gift she wanted to make for her baby was a soft baby blanket. 
 Original Ending: Every day Kathy worked on making the baby blanket. As she worked, she thought about her baby and how much love she had. When her baby finally arrived, she wrapped him in the special blanket. 
 Counterfactual Context: The gift she wanted to make for her baby was a sturdy baby crib.

Ex Output:
Every day Kathy worked on making the baby crib. As she worked, she thought about her baby and how much love she had. When her baby finally arrived, she placed  him in the special crib. 


Ex Input:
Premise: The smiths were getting ready for their new baby. 
 Initial Context: They made the nursery and packed the bags. 
 Original Ending: When it was time to go into labor, they ran to the hospital. Luckily the mother was not in pain. When the baby was born, it was a girl. 
 Counterfactual Context: The decided to have a home birth.

Ex Output:
When Mrs. Smith went into labor, they moved to the bathtub. Luckily the mother was not in pain. When the baby was born, it was a girl. 


Ex Input:
Premise: Isabelle was very proud of her long hair. 
 Initial Context: She took good care of them until she slept on the grass on her lawn. 
 Original Ending: When she woke up, she realized her hair was full of chewing gum. She cried and went to her mom. Her mom cut all of her hair until it was short to the ears. 
 Counterfactual Context: She took terrible of her hair and had to chop it short.

Ex Output:

When she woke up, she realized how much she missed her long hair. She cried and went to her mom. Her mom helped her take better care of her hair until it grew out again. 


