
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
Given Professor Lewis has twelve different language books lined up on a bookshelf: three Arabic, four German, three Spanish, and two French, calculate the number of ways to arrange the twelve books on the shelf keeping the Arabic books together, the Spanish books together, and the French books together.

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