"Let's see now... I do remember that there was another trial. A quite interesting one, if I recall...
"Again there were three defendants. The first defendant either claimed he was innocent or guilty, but I can't remember which. The second also either claimed he was innocent or he was guilty. The third defendant... hmmm... Well he either accused the first defendant, or claimed that the first defendant was innocent. The one thing I do remember, however, is that at most one of the statements was true.
"Now then, last month I recounted the trial to the Jabberwocky, and at that time I remembered what each of the defendants said at the trial. The Jabberwocky quickly worked out who the guilty party was.
"Three weeks ago I was trying to recount the trial to Tweedledee, but unfortunately at that time I could only remember what the first defendant had said. I also told him that the Jabberwock had solved the case. Poor Tweedledee was left quite baffled, though.
"Two weeks ago I was telling Tweedledum about the case. I told him about the Jabberwock solving the case, but I forgot to tell him about Tweedledee's attempt. I had at this time forgotten what all the defendants had said at the trial, except for either the second defendant's statement or the third defendant's statement. Whichever I told Tweedledee, he was left just as baffled as his brother.
"Finally, just last week, I was recounting the case to the brilliant logician, Humpty Dumpty. I told him all about the Jabberwock solving the puzzle, and about the two twins being stumped. Humpty Dumpty worked on it for a while, and finally asked me if I could just remember which defendant I had told Tweedledum about. Fortunately at the time I did remember, and so I told Humpty Dumpty, who was able to solve the case.
"So tell me now, who was guilty?"
Adapted from Raymond Smullyan's Alice in Puzzleland.