Input: They said that Tom wouldn't pay up, but pay up he did go to the bank and he did.
Output: 1