
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 3 boys and 4 girls. Calculate the total number of different arrangements under the following conditions:
(1) Arrange in two rows, with 3 people in the front row and 4 people in the back row.
(2) Everyone stands in a row, with person A neither at the head nor at the tail of the line.
(3) Everyone stands in a row, with all girls standing together.
(4) Everyone stands in a row, with no two boys standing next to each other.

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