
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 $7$ black balls, $5$ white balls, and some red balls that are identical in everything except color. After shaking the bag and randomly drawing a ball, recording its color, and then returning it to the bag, through a large number of repeated ball-drawing experiments, it is found that the frequency of drawing a red ball stabilizes at $0.4$. The number of red balls in the bag is ____.

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