n,w,h=map(int,input().split());s=list(map(len,input().split("l"))) for i in range(h,0,-1):print("".join("xo"[j=i]for j in range(w)))