Input: Jane imagines Bill claims John believes Mary thinks Tom is honest.
Output: 1