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: Jordan was on a hike with her family. 
 Initial Context: She had gained a huge lead before them. 
 Original Ending: By the end of the hike, they were way behind her. She had to sit and wait for them, which was boring. Luckily, they showed up not too long later. 
 Counterfactual Context: She was trailing way behind them.

Ex Output:
By the end of the hike, she was even farther behind them. They had to sit and wait for her, which was boring. Luckily, she showed up not too long later. 


Ex Input:
Premise: Neil was writing an article about Chinese factories. 
 Initial Context: He arrived in Macau and went to the factory there. 
 Original Ending: The owner showed him around and explained things. Neil was impressed by the amount of work done there. He wrote a glowing article about the Macau factory! 
 Counterfactual Context: He was not allowed to see the sweat shops only the designated ones for foreigners and he knew it.

Ex Output:
The owner of the Macau factory showed him around. Neil was impressed by the amount of work done there. He wrote a glowing article about the Macau factory! 


Ex Input:
Premise: Eddie was doing the laundry. 
 Initial Context: He forgot to put the detergent in the washer. 
 Original Ending: When the load finished, it was still dirty. Eddie realized his mistake. He ran the clothes again with the detergent this time. 
 Counterfactual Context: He put the detergent in the washer.

Ex Output:

When the load finished, he forgot about his clothes. Eddie realized his mistake. He ran over to put the clothes in the dryer. 


