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

const int N = 2e5 + 10;
char s[N];
vector<int> a, b;
int main()
{
	int n, k, c;
	scanf("%d%d%d", &n, &k, &c);
	scanf("%s", s + 1);
	int len = strlen(s + 1);
	
	
	for(int i = 1; i <= len; i++) {
		if(s[i] == 'o') {
			a.push_back(i);
			i += c;
		}
		if(a.size() == k) break;
	}
	for(int i = n; i >= 1; i--) {
		if(s[i] == 'o') {
			b.push_back(i);
			i -= c;
		}
		if(b.size() == k) break;
	}
	reverse(b.begin(), b.end());
	
	int la = a.size(), lb = b.size();
	if(la == lb) {
		for(int i = 0; i < la; i++) 
			if(a[i] == b[i]) printf("%d\n", a[i]);
	}
} 