Input: John liked not Mary.
Output: 0