Input: Head: PersonX returns to PersonY's homeland<sep>Tail: nan
Output: 


Answer: Yes