
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 is a sequence of 40 characters: 20 X's and 20 0's. In one move, you can swap any two adjacent characters. What is the minimum number of moves required to guarantee that 20 consecutive characters are all X's?

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