gsub(/./){$*[_=48+$.+K-=1]="%#{K-$.<<1}s"%$*[_]+$&}while gets&&K=2 puts$*-[p]
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page