Input: Head: PersonX gives birth to a PersonY<sep>Tail: Rest for a long time
Output: Yes