Input: he jumped rope
the rope jumped him

Output: second