Tom was working on a subtraction practice – however he is careless that he made a mistake on two numbers:
(1) for the minuend, he mistakenly wrote the ones as 6, where it suppose to be 9;
(2) for the subtrahend, he mistakenly wrote the hundreds as 9, where it suppose to be 6.
He got a result of 577 (as shown below).
Can you help him find out the correct answer?