
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 the first 10,000 positive integers \(1, 2, \ldots, 10000\), how many of them have at least two of the digits 2, 0, 1, 7? (The same digit appearing multiple times, such as in the number 2222, counts as containing only one of that digit).

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