
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
On an island, there are only 50 knights, who always tell the truth, and 15 civilians, who can either tell the truth or lie. A forgetful professor, who came to the island to give a lecture, forgot what color hat he is wearing. What is the minimum number of local inhabitants that the professor needs to ask about the color of his hat in order to be certain about its color?

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