while""do x=io.read(1)t=x>" "and t or{}t[x]=t[x]or io.write(x)end