Input: I wrote on the pencil with the paper.
I wrote on the paper with the pencil.

Output: first