Three digit subtraction with regrouping