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