Input: Head: PersonX holds PersonY's head<sep>Tail: sad.
Output: 


Answer: Yes