
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 factory produces three different types of products: Type A, Type B, and Type C, in the ratio of $1:3:5$. To understand the quality of these three types of products, a stratified sampling method is used to draw a sample of size $n$ from the products produced by the factory. If there are $27$ Type B products in the sample, then the value of $n$ is \_\_\_\_\_\_.

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