Input: Head: PersonX leaves PersonY's home<sep>Tail: tired
Output: 


Answer: Yes