import java.io._
import java.util.StringTokenizer
import scala.util.control.Breaks.{breakable,break}
import scala.collection.mutable.{Map, Stack, Queue, PriorityQueue, Set}

object Main extends App {
  val in = new InputReader(System.in)
  val pw = new PrintWriter(System.out)

  val N, K, C = in.next().toInt
  val S = in.next().toArray

  //
  val o = 'o'
  val x = 'x'

  var cnt = 0
  var i = 0

  val L = new Array[Int](K)
  val R = new Array[Int](K)

  while (i < N) {
    if (S(i) == o) {
      cnt += 1
      i += C+1
    }
    else {
      i += 1
    }
  }

  var ans = List[Int]()
  if (cnt == K) {
    cnt = 0
    i = 0
    while (i < N) {
      if (S(i) == o) {
        L(cnt) = i
        i += C+1
        cnt += 1
      }
      else {
        i += 1
      }
    }

    cnt = K-1
    i = N-1
    while (i >= 0) {
      if (S(i) == o) {
        R(cnt) = i
        i -= C+1
        cnt -= 1
      }
      else {
        i -= 1
      }
    }

    for (i <- 0 until K) {
      if (L(i) == R(i))
        ans = (L(i) + 1) :: ans
    }

    ans.reverse.foreach{pw.println}
    pw.flush()
  }
}

object Sub {
  def print2DimArray[A](mat: Array[Array[A]]): Unit = {
    mat.foreach(lin => println(lin.toList))
  }
}

class InputReader(stream: InputStream) {
  private[this] val reader = new BufferedReader(new InputStreamReader(stream))
  private[this] var tokenizer: StringTokenizer = new StringTokenizer(reader.readLine())
  def next(): String = {
    while (!tokenizer.hasMoreTokens()) {
      tokenizer = new StringTokenizer(reader.readLine())
    }
    tokenizer.nextToken()
  }
}
