Input: Head: PersonX finds PersonY opening<sep>Tail: determined
Output: Yes