Input: Head: PersonX gives birth to a PersonY<sep>Tail: rest
Output: Yes