
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
Diana wrote a two-digit number and then wrote another two-digit number which is a permutation of the digits of the first number. It turned out that the difference between the first and the second number is equal to the sum of the digits of the first number. What is the four-digit number written?

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