
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
How many ways can we arrange 4 physics books and 6 history books on a shelf if all the physics books must stay together and all the history books must also stay together? The physics books are all different and so are the history books.

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