Task: Coherence Classification
Input (English): Beginning: Sam was online. Middle 1: The internet began working, so Sam turned off the router. Middle 2: The internet stopped working, so Sam rebooted the router. Ending: Sam was frustrated but happy he had the internet back.
Output (English): 2