local mfl = math.floor

local n, k, c = io.read("*n", "*n", "*n", "*l")
local s = io.read()
local t = {}
for i = 1, n do
  if s:sub(i, i) == "o" then
    table.insert(t, i)
  end
end
local inf = 1000000007
local pre = {}
do
  local pos = 0
  local cur = -inf
  for i = 1, #t do
    if cur + c < t[i] then
      pos = pos + 1
      cur = t[i]
      pre[pos] = i
    end
  end
end
if k < #pre then
  print("")
  os.exit()
end

local suf = {}
for i = 1, k do suf[i] = -1 end
do
  local pos = k + 1
  local cur = inf
  for i = #t, 1, -1 do
    if t[i] < cur - c then
      pos = pos - 1
      cur = t[i]
      suf[pos] = i
    end
  end
end

-- print(table.concat(t, " "))
-- print(table.concat(pre, " "))
-- print(table.concat(suf, " "))

if #t == 1 then
  print(t[1])
  os.exit()
end
for i = 1, k do
  if pre[i] == suf[i] then
    print(t[pre[i]])
  end
end
