Input: They said that Tom would pay up, and pay up that he did is well-known.
Output: 0