You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
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: 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: 1
Why? People generally don't feel happy about natural disasters like storms. Therefore, we choose 1 in this case.

New input: Beginning: Mary went grocery shopping. Middle 1: A man tried to call her. Middle 2: A man tried to rob her. Ending: That man went to jail.
Solution:
2