Input: Bill likes herself.
Output: 0