Input: Head: PersonX gives it to PersonY's friend<sep>Tail: good.
Output: 


Answer: Yes