Out of three Friends John, Jacob and Jonny one of them is a king, one is a bureaucrat, and one is a Spy.
The king always tells the truth, the bureaucrat always lies, and the Spy can either lie or tell the truth.
John says: Jonny is a bureaucrat
Jacob says: John is a king
Jonny says: I am a Spy
Tell me, Who is the king, who is the bureaucrat, and who is the Spy?