
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
On a shelf, there are 4 different comic books, 5 different fairy tale books, and 3 different story books, all lined up in a row. If the fairy tale books cannot be separated from each other, and the comic books also cannot be separated from each other, how many different arrangements are there?

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