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.
One example: Beginning: Butch had a really old computer. Middle 1: Butch decided to order a new computer online. Middle 2: Butch noticed that a storm was approaching to his town. Ending: It arrived and Butch was much happier.
Solution is here: 1
Explanation: People generally don't feel happy about natural disasters like storms. Therefore, we choose 1 in this case.

Now, solve this: Beginning: Tim had trouble paying attention. Middle 1: Tim paid careful attention. Middle 2: He was daydreaming all day. Ending: And he didn't know what to do for the test.
Solution:
2