#include<bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i=0;i<(n);++i)
#define Rep(i,n) for(int i=1;i<=(n);++i)
using LL = long long;
using ULL = unsigned long long;

char s[200123];
int x[200123], y[200123];

int main()
{
	int n, k, c;
	cin >> n >> k >> c >> s+1;
	int cur = 1, cnt = 0;
	while(cnt < k) {
		if(s[cur] == 'o') x[++cnt] = cur, cur += c;
		++cur;
	}
	cur = n, cnt = k;
	while(cnt) {
		if(s[cur] == 'o') y[cnt--] = cur, cur -= c;
		--cur;
	}
	Rep(i, k) if(x[i] == y[i]) cout << x[i] << '\n';
	return 0;
}

