Input: Head: PersonX follows PersonY to the door<sep>Tail: gets invited inside
Answer: Yes