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: Tom was walking in a store. 
 Initial Context: There were girl scouts outside. 
 Original Ending: The girl scouts asked him to buy cookies. Tom thought about it for a moment. Then Tom purchased several boxes of cookies. 
 Counterfactual Context: There were boy scouts outside.

Ex Output:
The boy scouts asked him to buy cookies. Tom thought about it for a moment. Then Tom purchased several boxes of cookies. 


Ex Input:
Premise: George was only 5 years old. 
 Initial Context: He was just learning to ride his bike. 
 Original Ending: He told his dad he was ready to go on his own. His dad watched as George began to peddle on his own. George got 5 feet before he fell over and off his bike. 
 Counterfactual Context: He was just learning to count to twenty.

Ex Output:
He told his dad he was ready to go on his own. His dad watched as George began to count on his own. George got to seventeen before he made a mistake. 


Ex Input:
Premise: Justin wanted to have a really cool place to hang out. 
 Initial Context: He bought a disco ball for his basement and played some funky music. 
 Original Ending: Soon, all the people in his neighborhood loved coming over. Justin's house was the place to party! He felt cool and popular. 
 Counterfactual Context: He bought a lock for his basement so no one could come over and bother him when he played his funky music.

Ex Output:

Soon, all the people in his neighborhood begged him to let them come over. Justin's house was not the place to party. He didn't care that they wanted to hang out with him. 


