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

int main() {

  ios::sync_with_stdio(false);
  cout.tie(nullptr);
  cin.tie(nullptr);

  string s;
  int n, k, c;
  cin >> n >> k >> c >> s;

  vector<int> l(k), r(k);
  for (int i = 0, j = 0; i < n && j < k; ++i) {
    if (s[i] == 'x')  continue;
    l[j++] = i;
    i += c;
  }

  for (int i = n-1, j = k-1; i >= 0 && j >= 0; --i) {
    if (s[i] == 'x')  continue;
    r[j--] = i;
    i -= c;
  }

  int ans = 0;
  for (int i = 0; i < k; ++i)
    if (l[i] == r[i]) 
      cout << l[i] + 1 << '\n';
}

