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.
--------
Question: Premise: Sam saw an ad in the newspaper for free bricks. 
 Initial Context: He called the owner and asked for a delivery. 
 Original Ending: The next day Sam had a large stack of bricks. He used the bricks to make a pizza oven. Sam made pizzas all summer in his oven. 
 Counterfactual Context: He laughed because he didn't know who would want them.

Answer: The next day, Sam realized he would need a huge stack of bricks. They were going to be crucial in building his pizza oven. He picked them up and then made pizzas all summer in his oven. 


Question: Premise: He raised his hand before he struck her. 
 Initial Context: Something about her look stopped him. 
 Original Ending: He backed away before doing something he would regret. He looked at her lover lying dead on the couch. His anger had gone far enough already. 
 Counterfactual Context: Something about her look made him laugh.

Answer: It was too late to stop now He looked at her lover lying dead on the couch His anger had gone far enough already. 


Question: Premise: Tom was a software developer. 
 Initial Context: He would work on his computer all day. 
 Original Ending: He would type as fast as he could. He eventually broke some of the keys on the keyboard. He had to go out and buy a new keyboard. 
 Counterfactual Context: He quit working on his computer all day.

Answer:
He would write as fast as he could. He eventually broke some of the pens on the desk. He had to go out and buy a new pen. 


