Input: Head: PersonX accepts the job<sep>Tail: Job security
Output: Yes