
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
Select 4 representatives from 5 male students and 4 female students to participate in an activity, where there must be at least two males and at least one female. Find the total number of ways to make this selection.

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