
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 three balls of the same size but different colors in a pocket. One ball is drawn each time, the color is recorded, and then it is put back. The drawing stops when all three colors of balls have been drawn. If it stops after exactly 5 draws, the number of different ways to draw is \_\_\_\_\_\_\_.

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