On an island every inhabitant is either a knight, who always tells the truth, or a knave, who always lies. You meet four inhabitants, A, B, C and D.

A says: "At least one of B and C is a knave."
B says: "A is a knave."
C says: "A and B are of the same kind."
D says: "C is a knight."

Which of A, B, C and D are knights and which are knaves? Show the reasoning that rules out every other assignment.
