
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
From 8 volunteers, including A and B, 5 people are to be selected to participate in community service from Monday to Friday, with one person arranged for each day, and each person participating only one day. 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