Input: They said that Tom would pay up and he will pay up.
Output: 1