Input: They said that Tom was working, and he is working.
Output: 1