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 Input: Beginning: The man in the red car was driving fast. Middle 1: The man rear ended a slower moving vehicle. Middle 2: The man almost rear ended a slower moving vehicle. Ending: They had a huge accident.
Example Output: 1

Example Input: Beginning: Emma was making a costume. Middle 1: Emma researched dogs at her library. Middle 2: Emma researched cosplay at her library. Ending: Then she went home and made it.
Example Output: 2

Example Input: Beginning: Matt really likes cheese. Middle 1: Matt purchases some cheese. Middle 2: Matt steals some cheese. Ending: He was caught and arrested.
Example Output:
2