Definition: The task is to generate text based off of an event. For the given event, there will be a person who does the action in the event (usually PersonX). Your task is to write that persons intent behind doing the event, i.e. why did the person do that action.

Positive Example 1 -
Input: PersonX keeps ___ in mind
Output: to remember something

Positive Example 2 -
Input: PersonX celebrates the lord 's ___
Output: to show respect to the lord

Negative Example 1 -
Input: PersonX calls PersonX's brother
Output: to sleep.

Negative Example 2 -
Input: PersonX wastes PersonX's day
Output: happy

Now complete the following example -
Input: PersonX learns from PersonY's mistakes
Output: to not make same mistake