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.
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.
Example solution: 1
Example explanation: People generally don't feel happy about natural disasters like storms. Therefore, we choose 1 in this case.

Problem: Beginning: Tim needed help with his homework. Middle 1: No one was home to help Tim. Middle 2: His brother was home to help Tim. Ending: Tim ended up failing his homework.

Solution: 1