w,h,c=map(ord,input().split()) for i in range(h-48):print(('BWWB'[(c+i)%2::2]*w)[:w-48])