Input: Head: PersonX leaves PersonY's home<sep>Tail: glad to be home.
Output: 


Answer: Yes