a = io.read() a = string.gsub(a, "treeone", "forest") io.write(a)