local secret = "hi"
local answer = "__"
for i=0,6,1 do
local fuck = secret:gsub(io.read(), "_")
for j=1,#fuck do
if fuck:sub(j,j) == "_" then
answer = answer:sub(1, j-1) .. secret:sub(j,j) .. answer:sub(j+1)
end
end
print(answer)
if answer == secret then
print("You win")
break
end
end
print("The word was "..secret)
CmxvY2FsIHNlY3JldCA9ICJoaSIKbG9jYWwgYW5zd2VyID0gIl9fIgoKZm9yIGk9MCw2LDEgZG8KCWxvY2FsIGZ1Y2sgPSBzZWNyZXQ6Z3N1Yihpby5yZWFkKCksICJfIikKCWZvciBqPTEsI2Z1Y2sgZG8KCQlpZiBmdWNrOnN1YihqLGopID09ICJfIiB0aGVuCgkJCWFuc3dlciA9IGFuc3dlcjpzdWIoMSwgai0xKSAuLiBzZWNyZXQ6c3ViKGosaikgLi4gYW5zd2VyOnN1YihqKzEpCgkJZW5kCgllbmQKCXByaW50KGFuc3dlcikKCWlmIGFuc3dlciA9PSBzZWNyZXQgdGhlbgoJCXByaW50KCJZb3Ugd2luIikKCQlicmVhawoJZW5kCmVuZApwcmludCgiVGhlIHdvcmQgd2FzICIuLnNlY3JldCk=