while""do l=io.read(1)if l~=a then io.write(l)a=l end end