
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
At a math contest, $70$ students are wearing blue shirts, and $84$ students are wearing yellow shirts. The $154$ students are divided into teams such that $77$ teams contain exactly two students. In exactly $30$ of these teams, both students are wearing blue shirts. How many teams consist of students both wearing yellow shirts?
A) 30
B) 35
C) 36
D) 37
E) 40

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