Magic trick decoder

If the magician can't guarantee the shuffle, this is more of a gamble
than a trick...