
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
A multi-digit number is called optimistic if its digits increase from left to right. If the digits of a number decrease from left to right, it is called a pessimistic number. Find all optimistic numbers that simultaneously satisfy:

$\triangleright$ the arithmetic mean of the digits of the number is 7,

$\triangleright$ if we swap the first digit with the last digit in this number, we get a pessimistic number.

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