
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
There are 8 keys numbered 1 to 8 and 8 boxes numbered 1 to 8. Each key can only open the box with the same number. All keys are placed in these boxes and locked up so that each box contains one key. Calculate the number of different ways to place the keys in the boxes such that at least two boxes have to be opened to unlock all the boxes.

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