
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
Xiaoming encountered three people: a priest, a liar, and a lunatic. The priest always tells the truth, the liar always lies, and the lunatic sometimes tells the truth and sometimes lies. The first person said, "I am the lunatic." The second person said, "You are lying, you are not the lunatic!" The third person said, "Stop talking, I am the lunatic." Who among these three people is the lunatic?

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