Task: Coherence Classification
Input (English): Beginning: Billed clicked the submit button with satisfaction. Middle 1: The document however did not submit and instead restarted. Middle 2: The document however did not resist and instead restarted. Ending: Bill resisted the impulse to hurl his computer out the window.
Output (English): 2