Input: Head: PersonX earns PersonX's livelihood<sep>Tail: dedicated
Output: Yes