Input: John bought the picture of himself that Bill saw.
Output: 1