
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 an opaque bag, there are 8 black balls, 4 white balls, and several red balls, all identical except for their color. After shaking the bag, one ball is randomly drawn, its color is noted, and then it is returned to the bag. This process is repeated many times, and it is found that the frequency of drawing a red ball stabilizes at 0.4. Based on this, it can be estimated that there are approximately how many red balls in the bag.

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