Input: Head: PersonX goes on PersonY's way<sep>Tail: to know where PersonY's way is
Answer: Yes