#include <iostream>
#include <string>
using namespace std;

int main()
{
    int n, k, c;
    cin >> n >> k >> c;
    c++;
    string s;
    cin >> s;
    int f[200005], l[200005];
    int j = 0;
    for(int i = 0; i < k; i++){
        while(s[j] == 'x') j++;
        f[i] = j;
        j += c;
    }
    j = n - 1;
    for(int i = k - 1; i >= 0; i--){
        while(s[j] == 'x') j--;
        l[i] = j;
        j -= c;
    }
    for(int i = 0; i < k; i++){
        if(f[i] == l[i]) cout << f[i] + 1 << endl;
    }
}
