A man named Drew said:
"Mohammad and I are both liars."
What are each?
(In reply to
answer by K Sengupta)
Assume that Drew is a knight. Then, he has just lied about his own identity. This is a contradiction.
Accordingly, Drew is a liar. Hence, his statement that both Mohammed and himself are liars must be false. Thus, precisely one of them is a liar and the other is a knight.
Since, it has been established that Drew is a liar, it follows that Mohammed must be the Knight.