#include <iostream>
#include <vector>
#include <queue>
using namespace std;
int a[200000];
int b[200000];
int main(){
	int n,k,c;
	string s;
	cin>>n>>k>>c>>s;
	int now=0;
	for(int i=0;i<k;i++){
		while(s[now]=='x'){
			now++;
		}
		a[i]=now;
		now+=c+1;
	}
	now=n-1;
	for(int i=k-1;i>=0;i--){
		while(s[now]=='x'){
			now--;
		}
		b[i]=now;
		now-=c+1;
	}
	for(int i=0;i<k;i++){
		if(a[i]==b[i]){
			cout<<a[i]+1<<endl;
		}
	}
	return 0;
}