
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 naval formation is going to conduct a scientific experiment on formation configuration, which requires 2 attack submarines to be positioned one in front of the other, and 3 destroyers and 3 frigates to be arranged on the left and right sides, with 3 ships on each side. Ships on the same side cannot all be of the same type. The number of ways to arrange the ships is.

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