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: Ed was making dinner for his new girlfriend. 
 Initial Context: He decided to try a recipe he found online. 
 Original Ending: When she arrived, the kitchen was a mess. He could not figure out what he was doing. Together they cobbled together something that was edible. 
 Counterfactual Context: He made a recipe he knew would turn out great.

SOLUTION: When she arrived, the kitchen was a bustle. She could not figure out what he was cooking. Together they gobbled down the food together. 

PROBLEM: Premise: James spent a lot of time building and tweaking his computer. 
 Initial Context: He ended up being good at repairing it too. 
 Original Ending: One day, he thought of starting a computer repair service. And it became very successful. James was happy he could make a living doing what he loves. 
 Counterfactual Context: He was constantly making things worse every time he stuck his hands inside the machine.

SOLUTION: One day, he thought of starting a computer recycling service. And it became very successful. James was happy he could make a living doing what he loves, and does not have to worry about making things worse. 

PROBLEM: Premise: Gina was at her local bank. 
 Initial Context: She was awaiting a manager. 
 Original Ending: He was to interview her for a job. But he was running late. After 20 minutes of waiting the manager was finally ready. 
 Counterfactual Context: She needed to get a loan to help pay her bills while she was going to school.

SOLUTION:
She had to have an interview with the manager. But he was running late. After 20 minutes of waiting the manager was finally ready. 

