subtraction with regrouping 3 digits