I=input N,W,H=map(int,I().split()) A=[""]*H for s in I().split('l'): for i in range(H):A[i]+="xo"[H-i-1