Input: John would be preferred to be the candidate.
Output: 0