Input: Head: PersonX is like PersonX's father<sep>Tail: to work in same job as father
Output: Yes