TASK DEFINITION: In this task, you're given a context, a sentence,  and a character. The sentence describes an action or job of the given character. Also, the context provides more information about the sentence or the character. Your task is to write the character's motivation by doing a specific job, which is given in the sentence. You can use context to find the motivation; however, all the inputs do not provide context. Also, in some inputs, there can be zero motivation; output, 'None' in this case.
PROBLEM: Context: Xerxes was raised in a very sheltered monotonous community. He had not be exposed to many other cultures. 
 Sentence: He had trouble realizing when he was doing something impolite. 
 Character: Xerxes

SOLUTION: None

PROBLEM: Context: One day, Ernie went on a walk in the park. Ernie walked by the tennis courts and saw two beautiful women playing. 
 Sentence: He had never played tennis before, but he decided to learn. 
 Character: Ernie

SOLUTION: to gain knowledge

PROBLEM: Context: Kate's mom bought a new house. The house was older. It wasn't in good shape. It needed a lot of work. 
 Sentence: But she was excited about doing the repairs herself. 
 Character: Kate's mom

SOLUTION:
to repair without the help of others

