Input: Head: PersonX inherits from PersonX's mother<sep>Tail: cherishes it
Output: Yes