
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
My four-digit code is 1023. Reckha can't choose a code that is the same as mine in three or more of the four digit-positions, nor that is the same as mine except for switching the positions of any two digits (e.g., 2013 and 1320, but not 3102). Reckha can otherwise choose any four-digit code where each digit is in the set $\{0, 1, 2, ..., 7\}$. How many codes are available for Reckha?

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