Input: He knows he.
Output: 0