Input: She wanted to can leave
Output: 0