#include <bits/stdc++.h>
using namespace std;

int main() {

  int N, K, C;
  cin >> N >> K >> C;

  string S;
  cin >> S;

  vector<int> saitan(K);
  vector<int> saichi(K);

  int j = 0;
  for(int i = 0; i < N && j < K; i++){
    if(S[i] == 'o'){
      saitan[j] = i;
      i += C;
      j++;
    }
  }

  j = 0;
  for(int i = 0; i < N && j < K; i++){
    if(S[N - 1 - i] == 'o'){
      saichi[K - 1 - j] = N - 1 - i;
      i += C;
      j++;
    }
  }

  for(int i = 0; i < K; i++){
    if(saitan[i] == saichi[i]){
      cout << saitan[i] + 1 << endl;
    }
  }
}