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: Pete was hungry. 
 Initial Context: He looked in the kitchen for something to eat. 
 Original Ending: All he could find were crackers. After a while, he found a jar of peanut butter. He enjoyed his small, tasty snack. 
 Counterfactual Context: He looked in the grocery store for something to eat.

SOLUTION: There were so many options at the store. After a while, he settled on a jar of peanut butter and crackers. He enjoyed his small, tasty snack. 

PROBLEM: Premise: My son did not know how to order food at a restaurant. 
 Initial Context: I took my son to a restaurant with a children's menu. 
 Original Ending: I then instructed my son to read the menu and select a food option. When the waiter came I told my son to tell the waiter his selection. My son now understands how to order food at a restaurant. 
 Counterfactual Context: I took my son to a self serve all you can eat buffet.

SOLUTION: I then instructed my son to read a menu I scribbled up and select a food option. I pretended to be a waiter and told my son to tell me his selection. My son now understands how to order food at a restaurant. 

PROBLEM: Premise: Katheryn served eggs on a plate. 
 Initial Context: The man knocked the eggs to the floor. 
 Original Ending: He looked angry. Katheryn called out for her manager. The manager calmed the man down. 
 Counterfactual Context: The man stole her eggs off the plate.

SOLUTION:
He looked angry. Katheryn called out for her manager. The manager calmed the man down. 

