Input: Head: PersonX follows PersonY to the door<sep>Tail: follow them
Output: Yes