Definition: In this task, you will be given a short story. One sentence from the story is chosen. Consider the events that happen before that sentence, or are likely to have happened before it. Does any of them directly cause it, or simply make it possible? You should write your answer in the form " A >causes/enables> B". Try to use phrases and sentences from the story to compose your answer when possible.
Input: story: Merida had long red hair that she never combed or tied up. One day while running quite fast, she got her hair stuck in a tree. It tore out a chunk of her hair and also some skin. Merida had learned her lesson. Now she wears her hair in a bun or a ponytail.
 selected sentence: Merida had learned her lesson.

Merida's long and unkempt hair gets pulled out >Causes/Enables> Merida learns her lesson