#include <bits/stdc++.h>
using namespace std;
using ll=long long;
#define MOD 1000000007
#define INF 1000000000000000

int main(){
  int N,K,C;
  string S;
  cin>>N>>K>>C>>S;
  vector<int> left(K),right(K);
  int day=0;
  for(int i=0;i<K;i++){
    while(S.at(day)=='x'){
      day++;
    }
    left.at(i)=day;
    day+=C+1;
  }
  day=N-1;
  for(int i=0;i<K;i++){
    while(S.at(day)=='x'){
      day--;
    }
    right.at(K-i-1)=day;
    day-=C+1;
  }
  for(int i=0;i<K;i++){
    if(left.at(i)==right.at(i)){
      cout<<left.at(i)+1<<endl;
    }
  }
}
