
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
100 knights and 100 liars are arranged in a row (in some order). The first person was asked, "Are you a knight?", and the rest were sequentially asked, "Is it true that the previous person answered 'Yes'?" What is the greatest number of people who could have said "Yes"? Knights always tell the truth, and liars always lie.

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