Input: Fanny regretted being talking to Mary.
Output: 0