Input: Terry touched at the cat.
Output: 0