Task: Coherence Classification
Input (English): Beginning: Mike was purchasing groceries in the checkout line. Middle 1: Mike wasn't in a hurry and took his time typing his pin number so his card car would accept. Middle 2: he was in a hurry and mis-typed his pin number so the credit card was rejected. Ending: He then re-entered his pin and successfully bought his food.
Output (English): 1