
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 Mr. Johnson's class, 12 out of 20 students received an 'A' grade and the rest received a 'B' grade. Mrs. Smith, teaching a different class, observed that the proportion of students getting 'A' was the same. If Mrs. Smith has 30 students total, how many students received an 'A' grade? Moreover, if the same proportion received 'B' as in Mr. Johnson’s class, how many students in Mrs. Smith’s class received 'B'?

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