Given the task definition, example input & output, solve the new input case.
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.
Output: 1
People generally don't feel happy about natural disasters like storms. Therefore, we choose 1 in this case.

New input case for you: Beginning: Shuli liked to practice computer programming. Middle 1: Shuli's computer broke down. Middle 2: Shuli designed a new program to try. Ending: It worked perfectly!
Output:
2