Input: he wrote with a car
he wrote with a pen

Output: first