
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, digits are displayed as shown in the image below.

Dima subtracted a three-digit number from another three-digit number on the calculator and got a three-digit number as a result. However, the calculator's screen broke, so the example looked like it is shown in the following image. (In each rectangle consisting of six squares, there is a digit. Out of these six squares, only one fully works, while the rest of the five display nothing.)

What should the minuend and subtrahend be in the example for the difference to have the maximum possible value? (Answers can be entered in any order.)

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