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: Luc's car was making a weird noise. 
 Initial Context: He took it into the shop. 
 Original Ending: the mechanic said Luc needed an engine. Luc paid for the repair. Afterwards, his car ran fine again! 
 Counterfactual Context: He took it to his dad's house.

SOLUTION: His dad said Luc needed an engine. Luc didn't have to pay for repairs as his dad did the work. Afterwards, his car ran fine again! 

PROBLEM: Premise: Tina wanted to have a barbeque. 
 Initial Context: She got all her friends together to have one. 
 Original Ending: When Tina got her friends, they made hot dogs. Unfortunately Tina burnt the hot dogs. They had to make burgers instead. 
 Counterfactual Context: She got her family together to have one.

SOLUTION: When Tina got her family, they made hot dogs. Unfortunately Tina burnt the hot dogs. They had to make burgers instead. 

PROBLEM: Premise: Keith wanted to become a professional chef. 
 Initial Context: He watched cooking shows and practiced recipes. 
 Original Ending: Keith enrolled in culinary school. After school Keith worked at a famous restaurant. Keith worked his way up to being head chef. 
 Counterfactual Context: He cooked only by taste.

SOLUTION:
Keith enrolled in culinary school. After school Keith worked at a famous restaurant. Keith worked his way up to being head chef. 

