
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 5 people from 4 boys and 5 girls to participate in a math extracurricular group. How many different ways are there to select under the following conditions?

 (1) Select 2 boys and 3 girls, and girl A must be selected;

 (2) Select at most 4 girls, and boy A and girl B cannot be selected at the same time.

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