Task: Coherence Classification
Input (English): Beginning: Elaine visited her grandmother in a retirement home. Middle 1: Her grandmother had a pet parrot. Middle 2: Her grandmother had a pet dog. Ending: Elaine loved visiting her grandmother and the parrot.
Output (English): 2