
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 Lopez has eight different language books lined up on a bookshelf: three Russian, two French, and three Italian books, calculate the number of ways to arrange these eight books on the shelf, keeping the Russian books together and keeping the French books together.

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