
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
Select 5 volunteers from 8 candidates, including A and B, to participate in community service activities from Monday to Friday, with one person arranged for each day, and each person participating only once. If at least one of A and B must participate, and when both A and B participate, their service dates cannot be adjacent, then the number of different arrangements is ______ (Answer in digits).

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