Input: Head: PersonX leaves without PersonY<sep>Tail: mad
Output: 


Answer: Yes