Set up the subtraction problem in long subtraction format.

Subtract from .

Borrow from the digit in the next column to the left. Add the borrowed to . Reduce the number that was borrowed from by .

Subtract from .

Subtract from .

The result of is .

Subtract 578-297