Input: Head: PersonX gives PersonY PersonY's number<sep>Tail: writes it down
Output: Yes