Task: Grammar Error Detection
Input (English): Fanny regretted being talking to Mary.
Output (English): 0