Input: Head: PersonX gives birth to PersonY<sep>Tail: To care for the baby
Output: Yes