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.

Example Input: Premise: A man desired an inexpensive method of transportation. 
 Initial Context: He began reading forums online about motorcycling. 
 Original Ending: He began shopping for bikes. He found a good priced and highly reliable bike. He purchase the bike and obtained his desired transportation method. 
 Counterfactual Context: He began reading forums online about train commuting.
Example Output: He began shopping for train tickets. He found a good priced seasonal ticket. He purchased the ticket and obtained his desired transportation method. 

Example Input: Premise: Two spies met in a wooded clearing. 
 Initial Context: They came at each other with guns drawn. 
 Original Ending: Each spy threw down an envelope in front of the other. They lowered their guns and picked up the goods. The spies nodded at each other and departed. 
 Counterfactual Context: They came at each other shooting wildly.
Example Output: Each spy threw down their empty clip in front of the other. They lowered their guns and grabbed a new clip. The spies nodded at each other and continued shooting. 

Example Input: Premise: Gertrude wanted to learn how to speak Spanish. 
 Initial Context: She registered for a Spanish class online. 
 Original Ending: She started the class on Monday. She learned how to say some basic phrases. She thought that class was very fun. 
 Counterfactual Context: The Spanish language class was fully booked so she has to wait for the class next month.
Example Output:
Next month, she started on a Monday. She learned how to say some basic phrases. She thought that class was very fun. 

