Input: The doctor gave out homework
The teacher gave out homework

Output: first