Input: Head: PersonX gives PersonY birth<sep>Tail: to havea child
Output: Yes