while 1 do a=io.read()if a==nil then break end b=""for i=1,#a do c=string.sub(a,i,i)b=b..c..c end print(b.."\n")end