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: Julio loved to eat fried chicken. 
 Initial Context: His favorite fried chicken restaurant burned down. 
 Original Ending: Julio searched far and wide for another fried chicken restaurant. A new fried chicken restaurant opened in his home town. The new restaurant was just as good. 
 Counterfactual Context: He only ate the home cooked fried chicken his mom made.

SOLUTION: Julio searched far and wide for a fried chicken restaurant when his mom died. A new fried chicken restaurant opened in his home town. The new restaurant was just as good. 

PROBLEM: Premise: Ana needed to buy more groceries for the work week. 
 Initial Context: She drove to the store. 
 Original Ending: She put eggs, milk, bread, and cheese into her cart. She went to the checkout area and paid for all her food. She drove home and had enough food for the week! 
 Counterfactual Context: She ordered all her groceries online.

SOLUTION: She put eggs, milk, bread, and cheese into her cart. She clicked the checkout button and paid for all her food. She ordered enough food for the week. 

PROBLEM: Premise: Rick was a cop in Los Angeles. 
 Initial Context: He liked being a cop, but he loved skateboarding. 
 Original Ending: So every chance he got he would use it to practice. He got a call on a group of kids skating on private property. So instead of busting them, he rolled up and got in a sick session. 
 Counterfactual Context: He liked being a cop, but he loved rapping.

SOLUTION:
So every chance he got he would use it to write raps. He got a call on a group of kids rapping on private property. So instead of busting them, he rolled up and got in a rapping session. 

