A very special island is inhabited only by knights and knaves. Knights always tell the truth, and knaves always lie.
You meet four inhabitants: Rex, Peggy, Carl and Zeke. Rex claims,
I and Zeke are both knights or both knaves.' Peggy claims,Rex is a knave or Carl is a knave.' Carl tells you that Rex is a knave and Peggy is a knight. Zeke says that Rex is a knave.
Can you determine who is a knight and who is a knave?