$"=@_=split??,"Jrsk an treP rehlohacteu,";for(;$";$\="\r"){$\.=$.=chr 32+95*rand,$_-$"or$.ne$_[--$"%2?-$"-1:$"]&&$"++for++$|..$";print}<>