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 Q]: Premise: Annie wanted to put on a puppet show.
Initial Context: She made three puppets out of old socks.
Original Ending: She then constructed a puppet theater out of an old cardboard box. She invited her parents and two brothers to the show. Her family clapped and hollered for an encore after the show was over.
Counterfactual Context: She bought some puppets.
[EX A]: She then bought a puppet theater at a new store. She invited her parents and two brothers to the show. Her family clapped and hollered for an encore after the show was over.

[EX Q]: Premise: His eyes were closing, and it was only a matter of time.
Initial Context: When she was sure he was asleep, she turned off the light.
Original Ending: Then she pulled the blanket up to his chin to keep him warm. She tiptoed away, sparing one final glance. She went to her own bedroom to prepare for bed.
Counterfactual Context: She thought he was asleep when she turned off the lights but he started crying again.
[EX A]: Then she pulled the blanket away and held him until he slept. She tiptoed away, sparing one final glance. She went to her own bedroom to prepare for bed.

[EX Q]: Premise: Linda was afraid no one would invite her to any holiday parties.
Initial Context: She feared having to spend Christmas all alone.
Original Ending: But the week before, she received three party invitations! Linda had to juggle all three parties in one weekend. She spent her holiday very busy, and very happy, after all!
Counterfactual Context: So, she decided to volunteer at the local homeless shelter and soup kitchen.
[EX A]:
But the week before, she received three party invitations! Linda had to juggle all three parties in one weekend. She spent her holiday very busy, and very happy, after all!