
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 Lee has a collection of ten different books lined up on a shelf: three Arabic, three German, and four Spanish, calculate the number of arrangements of the ten books on the shelf so that the Arabic books are always together and the German books are always together.

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