Input: He used a matchstick for writing
He used a pen for writing

Output: first