Input: the street dogs were chasing the pet cat
the pet cat was chasing the street dogs

Output: second