
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
Ten friends are divided into two groups of five and sit in two separate rows of 5 seats each. They all get up and then reseat themselves in their respective rows, each sitting in the seat they were in before or a seat next to the one they occupied before. In how many ways can the friends be reseated?
A) 32
B) 64
C) 128
D) 89

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