
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
A certain middle school has 3500 high school students and 1500 middle school students. To understand the students' learning situation, a stratified sampling method is used to draw a sample of size $n$ from the students of this school. If 30 middle school students were drawn, then the value of $n$ is $\boxed{100}$.

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