while""do a=io.read(1):byte()b=0 for i=-7,0 do b=b+a%2*2^-i w=a/2 a=w-w%1 end io.write(("").char(b))end