
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 7 students standing in a row, including 3 girls and 4 boys. Please complete the following questions as required:
1. If all the boys stand together and all the girls stand together, how many ways are there to arrange them?
2. If the boys and girls stand in a row alternately, how many ways are there to arrange them?
3. If a boy named A and a girl named B must be in a certain order from left to right, how many ways are there to arrange them?

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