Input: John could not visit Sally.
Output: 1