There are four people, they are thieves, robbers, judges and policemen  The first man said, the second man is not a thief  the second man said, the third man is a policeman  the third man said, the fourth man is not a judge
the fourth man said, I am not a policeman, and only the police will tell the truth except me
The second man is a robber and the third man is a thief.