TASK DEFINITION: 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.
PROBLEM: Premise: Maria was at the zoo. 
 Initial Context: She was so excited seeing all of the animals. 
 Original Ending: Her favorite, though, were the penguins. She went to see them, but saw that the exhibit was closed that day. She was very sad she missed them. 
 Counterfactual Context: She got to see all the animals she wanted.

SOLUTION: Her favorite, though, were the penguins. She went to see them, and the exhibit was open that day. She was very happy she didn't miss them. 

PROBLEM: Premise: Ruth found the circumstances hard surrounding her ex. 
 Initial Context: He was a loving man but the two were so different. 
 Original Ending: She thought the right thing was to break up with him. Her wealthy parents never approved of her boyfriend. Ruth then knew that love would win out over approval. 
 Counterfactual Context: She had walked in on him cheating.

SOLUTION: She thought the right thing was to break up with him. Her wealthy parents never approved of her boyfriend. Ruth then knew that her parents would win out over her cheating boyfriend. 

PROBLEM: Premise: Today was Ellie's birthday. 
 Initial Context: Her father told her he had a special present for her. 
 Original Ending: He took her into the living room where a puppy was waiting. Ellie was so happy with her birthday present! She had always wanted a dog. 
 Counterfactual Context: Her father told her he got her plane tickets to Spain.

SOLUTION:
He took her into the living room where a new luggage bag was placed. Ellie was so happy with her birthday present! She had always wanted to go to Spain. 

