48. A More Interesting Case

- Let's move on to a more interesting case, said the King.

Alice perked up her ears.

- This time, three accused individuals, A, B, and C, stood before the court, began the King. - The court knew that one of them was a knight, one a liar, and one a spy. But who was who, the court did not know. First, A accused B of being the spy. Then B accused C of being the spy, after which C, pointing either at A or at B, declared: "The real spy is he!" The court exposed the spy.

Who is the spy?

- Hold on, hold on! exclaimed Alice. - You don't mean to say, Your Majesty, that I should solve the problem without knowing who C pointed to?
- When I read about this case in a book as a child, replied the King, - I also thought that the information was insufficient to solve the problem. But then I thought a bit more and realized that the information provided is indeed sufficient. Yes, yes! You didn't mishear: the given information is enough to solve the problem!

Who is the spy?