
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 math interest group in a vocational school consists of 4 boys and 3 girls. If 3 students are randomly selected from these 7 students to participate in a math competition, and the selection must include both boys and girls, calculate the number of different ways to select the students.

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