Input: Head: PersonX gives it to PersonY's friend<sep>Tail: to have something
Answer: Yes