
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 is a set of tickets with numbers from 1 to 30 (numbers may repeat). Each student drew one ticket. The teacher can perform the following operation: read a list of several (possibly just one) numbers and ask the students holding those numbers to raise their hands. How many times does he need to perform this operation to find out the ticket number of each student? (There are not necessarily 30 students.)

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