Task: Coherence Classification
Input (English): Beginning: Maggie and her friend were having a sleepover. Middle 1: They ended up having to stay for an emergency. Middle 2: They ended up having to leave for an emergency. Ending: They didn't even get to do the other things they had planned.
Output (English): 2