main=interact$f.lines
f[nkc,s]=unlines$map show r where
  [n,k,c]=map read.words$nkc
  [a,b]=map(g 1(-c)[])[s,reverse s]
  r = if length a/=k then [] else h a(reverse$map((n+1)-)b)[]
  g i p w (s:ss)=if i>p+c && s=='o' then g(i+1)i(i:w)ss else g(i+1)p w ss
  g _ _ w _=w
h(a:as)(b:bs)r
  |a>b=h as(b:bs)r
  |a<b=h(a:as)bs r
  |otherwise=h as bs(a:r)
h _ _ r=r