Input: he wrote home work in his bag
he wrote home work in the note book

Output: first