Input: Head: PersonX plays PersonY's heart<sep>Tail: satisfied.
Output: 


Answer: Yes