program em
  implicit none
  integer::N,K,C
  character(3*10**5)::S,S1
  integer,allocatable,dimension(:)::M,U
  integer::i,j
  integer::num
  read*,N,K,C
  read*,S
  allocate(M(K))
  S1=S
  num=1
  do i=1,N
    if(S1(i:i)=="o")then        
      M(num)=i
      num=num+1
      do j=1,C
        S1(i+j:i+j)="x"
      end do
      if(Num>K)exit
    endif
  end do
  S1=S
  allocate(U(K))
  num=K
  do i=N,1,-1
    if(S1(i:i)=="o")then
      U(num)=i
      num=num-1
      if(NUM<=0)exit
      do j=1,C
        if(i-j<=0)exit
        S1(i-j:i-j)="x"
      end do
    endif
  end do
  do i=1,K
    if(M(i)==U(i))print"(I0)",M(i)
  end do
  write(*,*)
contains

end program em