
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 are two tribes living on an island: a tribe of knights who always tell the truth and a tribe of liars who always lie. At the main festival, 2017 islanders sit around a large round table. Each islander says the phrase: "my neighbors are from the same tribe." It turns out that two of the liars made a mistake and accidentally told the truth. How many liars could be sitting at this table?

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