
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
There are 63 students wearing red hats, and 81 students wearing green hats. If 28 of the 72 teams consist of students both wearing red hats, calculate the number of teams made up of students both wearing green hats.

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