A truth-teller who always speaks truth, a liar who always lies, and a spy who can do either, are captured and questioned. The official wants to figure out which one is the spy.
The statements made are as follows.
Person A: "I am the spy."
Person B: "That is true."
Person C: "I am not the spy."
Which one is the spy?