
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
Among all fractions of the form $\frac{m}{n}$, where $m$ and $n$ are four-digit numbers with the same sum of digits, the greatest one was selected. Find it. Record your answer as an improper fraction (do not round or simplify!).

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