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: After a semester of hard work, I finally got an A in my math class. 
 Initial Context: I had attended every lecture, no matter how boring it was. 
 Original Ending: I did every homework assignment, even the difficult ones. Although I wanted to quit, I persevered through the class. I'm proud of my grade. 
 Counterfactual Context: I had attended every lecture because I really enjoyed the class.
answer:
I did every homework assignment, even the difficult ones I was happy to be in the class and liked it through the end. I'm proud of my grade 


question:
Premise: Jimmy was crying after he finished his bottle. 
 Initial Context: His picked him up from the floor. 
 Original Ending: He decided to read a bedtime story to Jimmy. After a few minutes, he went to sleep. His father placed him inside of his crib. 
 Counterfactual Context: Jimmy's parents sent him to bed without saying good night.
answer:
Jimmy started crying again and his father had to calm him down. After a few minutes, he went to sleep. His father placed him inside of his crib. 


question:
Premise: One time I ran a three kilometer race. 
 Initial Context: Before it began I had eaten some food for energy. 
 Original Ending: I picked a steady pace at which I felt comfortable. Near the end I sped up to beat another runner. I tied with him and threw up my food, regretting it badly. 
 Counterfactual Context: I did not train and struggled the whole way.
answer:

I picked a steady pace to start with at which I felt comfortable. Near the end I tried to speed up to beat another runner. I trailed him badly and threw up. 


