program test
implicit none
integer(8) :: n,k,c,i,j,dp_left(0:200000)=10**6,dp_right(0:200000)=10**6,workday=0
character(len=200000) :: s

read(*,*) n,k,c
read(*,*) s(1:n)

!dp_leftは,左から見たときにi日目の最速の労働日
workday = 0
dp_left(0) = 0
dp_right(0) = 0

do i=1,n
  if(s(i:i)=='x')then
    continue
  else
    if(workday == 0)then
      workday = workday + 1
      dp_left(workday) = i
    else
      if(i > dp_left(workday) + c) then
        workday = workday + 1
        dp_left(workday) = i
      endif
    endif
  endif
enddo

!dp_rightは,右から見たときにi日目の最遅の労働日
workday = 0
do i=n,1,-1
  if(s(i:i)=='x')then
    continue
  else
    if(workday == 0)then
      workday = workday + 1
      dp_right(workday) = i
    else
      if(i < dp_right(workday) - c) then
        workday = workday + 1
        dp_right(workday) = i
      endif
    endif
  endif
enddo

do i=1,k
  if(dp_left(i)==dp_right(k+1-i)) then
    write(*,*) dp_left(i)
  endif
enddo

end