Given a premise, an initial context, an original ending, and a new ending, the task is to generate the counterfactual context that is aligned with the new ending. 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. The original ending is the last three sentences of the story. Also, you are given a new ending that can provide the new story with the same premise. You should write a counterfactual context to explain the small differences between the original and new endings. More specifically, a story context contains the general plot of the story. And a counterfactual context is a slight modification to the initial context. To sum up, you should write the second sentence of a story based on the premise(first sentence) and the new ending(last three sentences) of the story.

Ex Input:
Premise: Gina was at the park alone.
Initial Context: There was a loose dog staring at her.
Original Ending: She wasn't sure if she should run or not. She stood staring at the dog as he stared at her. Just then, the dog began to approach her.
New ending: She wasn't sure if she should run or not She stood staring at the dog as he stared at her. Just then the dog fell asleep.

Ex Output:
The dog stared at her quietly while she didn't move.

Ex Input:
Premise: Dan followed the rainbow over the hills and roads.
Initial Context: No matter how close he got he couldn't find the end.
Original Ending: It was always just right ahead of him. Dan finally got a splendid idea. He got out his mobile and took a picture of the rainbow.
New ending: It was literally right there in front of him. Dan finally understood what was happening. He recognized the sound of his mobile-phone alarm and woke from the dream of the rainbow.

Ex Output:
He reached the end of the rainbow and found a pot of gold!.

Ex Input:
Premise: James was woken up around 3am by a sound in his garage.
Initial Context: He lives in the wilderness so he was afraid it was a bear.
Original Ending: He got up to look out of his window and sure enough, it was. The bear had managed to lift his garage door. James closed the door and trapped the bear inside until rangers came.
New ending: He got up to look out of his window and sure enough, it was. The cougar had managed to lift his garage door. James closed the door and trapped the cougar inside until rangers came.

Ex Output:
He was afraid that a cougar had gotten in.