#!perl -pl substr$x,$_,0,<N N Q B B>for$a=$_/96,~~grep($a>4?$a+=$_:0,-3..0),$_/16%6,sort$_*2&6|1,$_/2&6,$x=RKR;$_=$x
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page