In this task, you will be shown a short story with a beginning, two potential middles, and an ending. Your job is to choose the middle statement that makes the story coherent / plausible by writing "1" or "2" in the output. If both sentences are plausible, pick the one that makes most sense.

Beginning: Jess hated egg salad. Middle 1: Jess gave his egg salad sandwich to the dog. Middle 2: Jesse ate his egg salad sandwich in front of the dog. Ending: The dog happily ate the salad.
1

Beginning: Bryan went to the dentist for the first time in years. Middle 1: Bryan learned he had no issues in every tooth. Middle 2: Bryan learned he had a cavity in almost every tooth. Ending: He had to have everything filled.
2

Beginning: My 98 year old friend Joe was downstairs this afternoon. Middle 1: Joe was going to have surgery today. Middle 2: Joe was going to have surgery next year. Ending: I said good luck to Joe as his daughter picked him up a minute later.
1