Task: Coherence Classification
Input (English): Beginning: Sam went for a hike in the mountains. Middle 1: Sam had a close encounter with a bear. Middle 2: Sam had a close encounter with a friendly squirrel. Ending: Sam hiked out of the forest quickly and never went back.
Output (English): 2