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.

Input: Consider Input: Premise: It was the last minute of Jacob's basketball game with the score tied. 
 Initial Context: Jacob's team had the ball and was getting ready to score. 
 Original Ending: He drove the ball to the hoop and got fouled with one second left. Jacob went to the free throw line to take two shots. He missed the first shot, but made the second to win the game. 
 Counterfactual Context: Jacob's team had no chance to get the ball.

Output: The opposing team drove the ball to the hoop and got fouled with one second left. They went to the free throw line to take two shots. The person missed the first shot, but made the second to win the game. 


Input: Consider Input: Premise: James hated his boring glasses. 
 Initial Context: He wanted a new pair before school started. 
 Original Ending: He went online and picked a pair out. It arrived in the mail a couple of weeks later. He loved how the new glasses looked. 
 Counterfactual Context: He had a fun pair that he wore more often.

Output: He went online and another fun pair out. It arrived in the mail a couple of weeks later. He loved how the new glasses looked. 


Input: Consider Input: Premise: The other day I went to the movies with some friends. 
 Initial Context: We could not decide which movie we wanted to see. 
 Original Ending: So we decided to flip a coin. That was a terrible idea, because I lost the coin flip. We didn't see the movie I wanted to but at least I was with some pals. 
 Counterfactual Context: We decided on going to watch the new Marvel movie.


Output: We had decided to flip a coin. That was a terrible idea, because I had lost the coin flip. We didn't see  the movie I wanted to but at least I was with some pals. 



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.

Input: Consider Input: Premise: It was the last minute of Jacob's basketball game with the score tied. 
 Initial Context: Jacob's team had the ball and was getting ready to score. 
 Original Ending: He drove the ball to the hoop and got fouled with one second left. Jacob went to the free throw line to take two shots. He missed the first shot, but made the second to win the game. 
 Counterfactual Context: Jacob's team had no chance to get the ball.

Output: The opposing team drove the ball to the hoop and got fouled with one second left. They went to the free throw line to take two shots. The person missed the first shot, but made the second to win the game. 


Input: Consider Input: Premise: James hated his boring glasses. 
 Initial Context: He wanted a new pair before school started. 
 Original Ending: He went online and picked a pair out. It arrived in the mail a couple of weeks later. He loved how the new glasses looked. 
 Counterfactual Context: He had a fun pair that he wore more often.

Output: He went online and another fun pair out. It arrived in the mail a couple of weeks later. He loved how the new glasses looked. 


Input: Consider Input: Premise: The other day I went to the movies with some friends. 
 Initial Context: We could not decide which movie we wanted to see. 
 Original Ending: So we decided to flip a coin. That was a terrible idea, because I lost the coin flip. We didn't see the movie I wanted to but at least I was with some pals. 
 Counterfactual Context: We decided on going to watch the new Marvel movie.


user
Output: We had decided to flip a coin. That was a terrible idea, because I had lost the coin flip. We didn't see  the movie I wanted to but at least I was with some pals. 



assistant
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.

Input: Consider Input: Premise: It was the last minute of Jacob's basketball game with the score tied. 
 Initial Context: Jacob's team had the ball and was getting ready to score. 
 Original Ending: He drove the ball to the hoop and got fouled with one second left. Jacob went to the free throw line to take two shots. He missed the first shot, but made the second to win the game. 
 Counterfactual Context: Jacob's team had no chance to get the ball.

Output: The opposing team drove the ball to the hoop and got fouled with one second left. They went to the free throw line to take two shots. The person missed the first shot, but made the second to win the game. 


Input: Consider Input: Premise: James hated his boring glasses. 
 Initial Context: He wanted a new pair before school started. 
 Original Ending: He went online and picked a pair out. It arrived in the mail a couple of weeks later. He loved how the new glasses looked. 
 Counterfactual Context: He had a fun pair that he wore more often.

Output: He went online and another fun pair out. It arrived in the mail a couple of weeks later. He loved how the new glasses looked. 


Input: Consider Input: Premise: The other day I went to the movies with some friends. 
 Initial Context: We could not decide which movie we wanted to see. 
 Original Ending: So we decided to flip a coin. That was a terrible idea, because I lost the coin flip. We didn't see the movie I wanted to but at least I was with some pals. 
 Counterfactual Context: We decided on going to watch the new Marvel movie.


Output: We had decided to flip a coin. That was a terrible idea, because I had lost the coin flip. We didn't see  the movie I wanted to but at least I was with some pals. 


