2024 DMC Mock 10 Problems/Problem 5

If a logician does not want coffee then they will answer ”no” to the question, so the first nine logicians want coffee. Since the tenth logician says ”no”, they do not want coffee, so $\boxed{9}$ of the logicians want coffee.