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: Mary had always wanted a dog. Mary's mother would never allow her to have a pet. One day, a dog followed Mary's mother home from the grocery store. The dog would not go away, but laid down on Mary's mother's' feet. The dog got to stay, and Mary got a new pet.
 selected sentence: The dog got to stay, and Mary got a new pet.

A dog follows Mary's mother home >Causes/Enables> Mary gets a new pet