
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
In the game of Mindmaster, secret codes are now created by placing pegs of any of seven different colors into five slots. Each color can still be repeated, but the code must contain at least one red peg. No slot may remain empty. How many secret codes are possible?

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