Input: The hat on his ass is beautiful
The hat on his head is beautiful

Output: first