Input: I know a man who Bill saw and liked Mary.
Output: 0