local str = io.read("*l") if type(str) ~= "string" then str = tostring(str) end local count = io.read("*n") if type(count) ~= "number" then count = tonumber(count) end for i=1,count,1 do str = '"'..str..'"' end print(str)