dat = input().split() for i in range(int(dat[1])): tmp = '' for j in range(int(dat[0])): tmp += dat[2] if(dat[2] == 'B'): dat[2] = 'W' else: dat[2] = 'B' print(tmp) if(int(dat[0]) % 2 == 0): if(dat[2] == 'B'): dat[2] = 'W' else: dat[2] = 'B'