using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;

class E {
    static StreamWriter Out = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
    static void Main(string[] args) {
        int N, K, C;
        Input(out N, out K, out C);
        string S;
        Input(out S);
        int[] workCount = new int[N];
        int worked = 0;
        List<int> workedDay = new List<int>();
        for(int i = 0; worked < K; i++) {
            if(S[i] == 'x') {
                continue;
            } else {
                workCount[i]++;
                worked++;
                workedDay.Add(i);
                //Print(i);
                i = i + C;
            }
        }
        worked = 0;
        List<int> workedDay2 = new List<int>();
        for(int i = N - 1; worked < K; i--) {
            if(S[i] == 'x') {
                continue;
            } else {
                workCount[i]++;
                worked++;
                workedDay2.Add(i);
                //Print(i);
                i = i - C;
            }
        }
        for(int i = 0; i < K; i++) {
            if(i % 2 == 0) {
                workCount[workedDay[i / 2]]++;
                //Print(workedDay[i / 2]);
            } else {
                workCount[workedDay2[(i - 1) / 2]]++;
                //Print(workedDay2[(i - 1) / 2]);
            }
        }
        for(int i = 0; i < K; i++) {
            if(i % 2 == 0) {
                workCount[workedDay2[i / 2]]++;
                //Print(workedDay2[i / 2]);
            } else {
                workCount[workedDay[(i - 1) / 2]]++;
                //Print(workedDay[(i - 1) / 2]);
            }
        }
        List<int> ans = new List<int>();
        for(int i = 0; i < N; i++) {
            if(workCount[i] == 4) {
                ans.Add(i);
            }
        }
        foreach(int item in ans) {
            Print(item + 1);
        }
        Out.Flush();
    }
    static T ChangeT<T>(string s) => (T)Convert.ChangeType(s, typeof(T));
    static void Input<A>(out A a) {
        var words = Console.ReadLine().Split(new[] { ' ' }, options: StringSplitOptions.RemoveEmptyEntries);
        a = ChangeT<A>(words[0]);
    }
    static void Input<A, B>(out A a, out B b) {
        var words = Console.ReadLine().Split(new[] { ' ' }, options: StringSplitOptions.RemoveEmptyEntries);
        a = ChangeT<A>(words[0]);
        b = ChangeT<B>(words[1]);
    }
    static void Input<A, B, C>(out A a, out B b, out C c) {
        var words = Console.ReadLine().Split(new[] { ' ' }, options: StringSplitOptions.RemoveEmptyEntries);
        a = ChangeT<A>(words[0]);
        b = ChangeT<B>(words[1]);
        c = ChangeT<C>(words[2]);
    }
    static void Input<A, B, C, D>(out A a, out B b, out C c, out D d) {
        var words = Console.ReadLine().Split(new[] { ' ' }, options: StringSplitOptions.RemoveEmptyEntries);
        a = ChangeT<A>(words[0]);
        b = ChangeT<B>(words[1]);
        c = ChangeT<C>(words[2]);
        d = ChangeT<D>(words[3]);
    }
    static void Input<A, B, C, D, E>(out A a, out B b, out C c, out D d, out E e) {
        var words = Console.ReadLine().Split(new[] { ' ' }, options: StringSplitOptions.RemoveEmptyEntries);
        a = ChangeT<A>(words[0]);
        b = ChangeT<B>(words[1]);
        c = ChangeT<C>(words[2]);
        d = ChangeT<D>(words[3]);
        e = ChangeT<E>(words[4]);
    }
    static void Input<A, B, C, D, E, F>(out A a, out B b, out C c, out D d, out E e, out F f) {
        var words = Console.ReadLine().Split(new[] { ' ' }, options: StringSplitOptions.RemoveEmptyEntries);
        a = ChangeT<A>(words[0]);
        b = ChangeT<B>(words[1]);
        c = ChangeT<C>(words[2]);
        d = ChangeT<D>(words[3]);
        e = ChangeT<E>(words[4]);
        f = ChangeT<F>(words[5]);
    }
    static void Inputs<T>(out T[] array) {
        array = Console.ReadLine().Split(new[] { ' ' }, options: StringSplitOptions.RemoveEmptyEntries).Select(s => ChangeT<T>(s)).ToArray();
    }
    static void Print<T>(T s) => Out.WriteLine(s);
    static void Print<T>(params T[] s) => Out.WriteLine(string.Join(" ", s));
    static void Print<T>(IEnumerable<T> e) => Out.WriteLine(string.Join(" ", e));
}

Measured memory_bytes: 25688