Input: Head: PersonX gives PersonY PersonY's number<sep>Tail: giving
Output: Yes