Input: John thinks what Mary bought.
Output: 0