
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
Given Pat Peano has plenty of 0's, 1's, 2's, 3's, 4's, 6's, 7's, 8's, and 9's, but he has only eighteen 5's, determine the maximum page number that can be formed using these digits.

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