
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
On an engineering calculator, the digits are displayed as shown in the picture.

Dima subtracted a three-digit number from another three-digit number and got a three-digit result. However, the calculator's screen is broken, so the example looked like the next picture. (In each rectangle consisting of six squares, there is some digit. Only one of these six squares is fully functional, while the other five display nothing.)

What should the minuend and subtrahend be in the example to make the difference take the largest possible value? (Answers can be entered in any order.)

Present the answer in LaTex format: \boxed{Your answer}
user