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