Input: I had to fetch water from the well
I had to fetch water from the bed

Output: second