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.

Example Input: PersonX plays PersonY ___ in the history
Example Output: to have the lead role

Example Input: PersonX lives in PersonY's house
Example Output: to save money

Example Input: PersonX gives PersonY the money
Example Output:
to pay the person