Task: Grammar Error Detection
Input (English): If he is a rich man, he'd buy a diamond ring.
Output (English): 0