
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
Call a positive integer magnanimous if it is a one-digit number or its digits, when read from left to right, form either a strictly increasing or a strictly decreasing sequence, including possibly ending with a zero. For example, $2$, $346$, $8650$ are magnanimous, but $20$, $7635$, and $4550$ are not. How many magnanimous positive integers are there?
A) 1000
B) 1024
C) 1030
D) 2048

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