o=''for i=0,10200 do if tonumber(i,3)==nil then else x=tostring(i)x=x:gsub('0',' world'):gsub('1',' hello'):gsub('2',' world!')o=o..x:sub(2)..'\n'end end io.write(o:sub(1,-2))