TASK DEFINITION: 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.
PROBLEM: Beginning: Sam needed a new keyboard for his computer. Middle 1: Sam ordered a new keyboard from his fried Mark. Middle 2: Sam asked his friend Mark to lend him his keyboard instead. Ending: Sam was happy when Mark bought him the new keyboard.

SOLUTION: 1

PROBLEM: Beginning: Sammy's father owned a Chinese restaurant. Middle 1: Sammy moved away after his father retired. Middle 2: Sammy took over for his father after he retired. Ending: He eventually was able to successfully run the restaurant by himself.

SOLUTION: 2

PROBLEM: Beginning: Joe met his friend Al at the bus stop. Middle 1: Al was in a store. Middle 2: Al's girlfriend was in a store. Ending: She had seen them through the window as she was passing by.

SOLUTION:
2