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: Ricky really wanted a bowl of cereal.
Initial Context: However, he ate the last of it the day before.
Original Ending: He didn't feel like going to the store. So he searched his pantry and found oatmeal. Ricky made and ate oatmeal instead of cereal.
Counterfactual Context: Fortunately, he had plenty of it.

Answer: He didn't need to go to the store. So he searched his pantry and found cereal. Ricky made and ate cereal.

Question: Premise: Tommy saw his friend playing with a dog.
Initial Context: He decided to ask his mother if he could have a dog too.
Original Ending: Tommy's mother and father discussed the idea. After speaking to Tommy about caring for a dog, they adopted a dog. Now Tommy is happy to care for and play with his dog every day.
Counterfactual Context: He ran from the dog since he is scared of them.

Answer: Tommy's mother and father discussed his problem. After speaking to Tommy about what could be done, they decided to get a therapist. Now Tommy is happy to alleviate his fears and love dogs again.

Question: Premise: A group of friends were trying to figure out what to have for dinner.
Initial Context: It was Saturday evening and there weren't many options opened late.
Original Ending: One of the friends checked his phone for local advertisements. They saw that a new pizza restaurant had opened. Seeing that it closed late, the group got into a car and drove there.
Counterfactual Context: It was Saturday evening and we decided to just cook at home because places were closed.

Answer:
One of the friends checked his phone for meal ideas. They saw new pizza recipe that looked good. Seeing all the ingredients in their kitchen, the group got to work cooking.