
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
A necklace is strung with gems in the order of A, B, C, D, E, F, G, H. Now, we want to select 8 gems from it in two rounds, with the requirement that only 4 gems can be taken each time, and at most two adjacent gems can be taken (such as A, B, E, F). How many ways are there to do this (answer with a number)?

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