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