Input: There preferred for Sandy to get the job.
Output: 0