
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
There are 4 different books, among which there are 2 Chinese books and 2 math books. If they are randomly placed side by side on the same shelf, the number of ways to place them such that books of the same subject are not adjacent to each other is \_\_\_\_\_\_.

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