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.

Ex Input:
Premise: Anna was bitten by a fly or mosquito on a hiking trip. 
 Initial Context: She developed a rash and a fever, so her mom grew concerned. 
 Original Ending: She took Anna to the doctor, where they ran some tests on her. Thankfully, all the tests came back negative. Anna was glad she hadn't caught some awful disease! 
 Counterfactual Context: She quickly healed from them, so her mom didn't worry.

Ex Output:
After awhile she collapsed and her mom took Anna to the doctor, where they ran some tests on her. Thankfully, all the tests came back negative, it was just exhaustion. Anna was glad she hadn't caught some awful disease! 


Ex Input:
Premise: Scott lost his job. 
 Initial Context: Scott had nobody to turn to. 
 Original Ending: So he went to the liquor store to buy some booze. When he got home he drank all the booze. Weeks went on and Scott developed a drinking problem. 
 Counterfactual Context: Scott had his family to support him during this time.

Ex Output:
He started putting together his resume. The next day he applied to all the jobs he could. A week later and Scott had a new job. 


Ex Input:
Premise: Kathy was having trouble sleeping and concentrating. 
 Initial Context: She decided to look up online what may be wrong with her. 
 Original Ending: She figured then it would be best to see her doctor. Her doctor told her it would be signs of depression or anxiety. Kathy decided to seek therapy and began to sleep at night again. 
 Counterfactual Context: She decided to start taking a melatonin supplement.

Ex Output:

She figured then it would be best to ask her doctor. Her doctor told her it could be signs of depression or anxiety. Kathy decided to seek therapy and began to sleep at night again. 


