Input: he was living in his pen
he was living in his house

Output: first