instruction:
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: Jon was applying to college. 
 Initial Context: He couldn't figure out what to major in. 
 Original Ending: His friends recommended computer science. Jon researched computer science and liked what he read. He decided to major in computer science. 
 Counterfactual Context: He was majoring in Business.
answer:
His friends recommended computer science. Jon researched computer science and liked what he read. He decided to switch his major to computer science. 


question:
Premise: I took a book out of the library to learn French. 
 Initial Context: I memorized long lists of words and language rules. 
 Original Ending: I went to a French bistro and spoke entirely in French. The waiter was impressed with me. He told me that he couldn't speak french but thought I sounded good. 
 Counterfactual Context: I memorized a list of words, but forgot them all.
answer:
I went to a French bistro and couldn't remember any French. The waiter was laughing at me. He told me that he couldn't speak french but thought I sounded funny. 


question:
Premise: Sam was as work. 
 Initial Context: he decides to get a soda from the vending machine. 
 Original Ending: It swallowed his dollar. He kept on purchasing more. He ended up losing 10 bucks 
 Counterfactual Context: He decides to ask his friend for something to drink.
answer:

His friend agreed to help. He kept asking for more. His friend ended up refusing eventually. 


