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