Task: Coherence Classification
Input (English): Beginning: Allen decided to buy a gift for his girlfriend. Middle 1: ALLen , decided to buy a gift that was needed. Middle 2: allen did not buy a gift. Ending: Allen was very happy with his purpose.
Output (English): 1