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