Once you've ruled out the impossible then whatever is left, however improbable, must be the truth. The problem lay in working out what was impossible, of course. That was the trick, all right. There was also the curious incident of the orangutan in the night-time.