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: Kim brushed her horse. 
 Initial Context: She set down the brush on the floor. 
 Original Ending: She accidentally sat on the brush. The hard bristles surprised her. She yelled in surprise. 
 Counterfactual Context: When she was finished she hung it on the wall.

SOLUTION: Her horse accidentally knocked the bush off the wall. Kim sat on the brush and the hard bristles surprised her. She yelled in surprise. 

PROBLEM: Premise: Mary's office was a mess of papers and files. 
 Initial Context: She decided to clear off her desk and tidy up. 
 Original Ending: Mary filed papers alphabetically and threw out unnecessary documents. She dusted drawers and organized office supplies. After several hours, Mary finally had a clean work area. 
 Counterfactual Context: She decided to work from home instead of cleaning it up.

SOLUTION: Mary filed papers alphabetically and threw out unnecessary documents before going home to work. She dusted drawers and organized office supplies. After several hours, Mary finally ready to go home. 

PROBLEM: Premise: There was an empty lot in town. 
 Initial Context: Jen thought it was ugly. 
 Original Ending: She decided to build a park there. She got permission from the city and started building. It was the best park in town. 
 Counterfactual Context: Jen thought it was ugly, and built her house there.

SOLUTION:
She decided to put in a garden there, as well. She got permission from the city and started building. It was now the best lot in town. 

