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: Misty wanted to join the beauty pageant to win 1st prize. 
 Initial Context: But first she had to qualify. 
 Original Ending: To qualify she had to wear three different dresses and score greatly. She qualified and for the competition she had to perform a dance. Misty did not win any prize but she plans on joining future pageants. 
 Counterfactual Context: Unfortunately she was too young to sign up as a contestant.

Ex Output:
She dreams of wearing three different dresses and scoring greatly. She dreams of performing a dance. Misty plans on joining future pageants. 


Ex Input:
Premise: I said a prayer for Michael earlier today. 
 Initial Context: He was sick in the hospital. 
 Original Ending: A lady gave Michael AIDS. I prayed hard for Michael today. Michael just died. 
 Counterfactual Context: He was my pet turtle.

Ex Output:
A lady gave Michael poison. I prayed hard for Michael today. Michael just died. 


Ex Input:
Premise: When Ron was 10, he got a hamster for his birthday. 
 Initial Context: One day, he was holding the hamster in his hand. 
 Original Ending: The hamster bit his thumb, hard! Ron was surprised, and accidentally dropped the hamster. The hamster died later that day. 
 Counterfactual Context: One day, he put a treat in the hamster's cage.

Ex Output:

The hamster bit his thumb, hard! Ron was surprised, and accidentally knocked the hamster cage over. The hamster died later that day. 


