Input: Head: PersonX accepts the job<sep>Tail: hardworking
Output: No