
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
5 adults and 2 children are lining up to climb a mountain. The children do not stand together and also do not stand at the beginning or the end of the line. Determine the number of different arrangements.

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