Task: Coherence Classification
Input (English): Beginning: I went to buy groceries at the store. Middle 1: I realized I'd forgotten my wallet. Middle 2: I realized I'd just cashed my paycheck. Ending: The person behind me in line paid for my groceries!
Output (English): 2