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: Tommy saw his friend playing with a dog. 
 Initial Context: He decided to ask his mother if he could have a dog too. 
 Original Ending: Tommy's mother and father discussed the idea. After speaking to Tommy about caring for a dog, they adopted a dog. Now Tommy is happy to care for and play with his dog every day. 
 Counterfactual Context: He ran from the dog since he is scared of them.

SOLUTION: Tommy's mother and father discussed his problem. After speaking to Tommy about what could be done, they decided to get a therapist. Now Tommy is happy to alleviate his fears and love dogs again. 

PROBLEM: Premise: As I child I came across a worm crawling, as I was playing. 
 Initial Context: A boy came up and started violently stomping on it. 
 Original Ending: Blood and gush started squirting everywhere as the worm exploded. I was mortified, disgusted and frightened completely! This experienced has made me hate worms to this day! 
 Counterfactual Context: I grabbed it up before this boy could stomp on it.

SOLUTION: Blood and gush would have started squirting everywhere if the worm exploded. I would have been mortified, disgusted, and frightened completely! This experience would have made me hate worms to this day! 

PROBLEM: Premise: When Jack comes to pick up his friend Jan from work he meets her boss. 
 Initial Context: She hits on him even though she is old enough to be his grandmother. 
 Original Ending: When he turns her down she threatens to fire Jan. He agrees to go out with her to save Jan's job. But when Jan finds out what her boss did she quits her job. 
 Counterfactual Context: She offers Jack a job.

SOLUTION:
When Jack turns her down she threatens to fire Jan. Jack agrees with the job she offers to save Jan's job. But when Jan finds out what her boss did she quits her job. 

