s = 'BW' * 1000 W, H, C = input().split() W, H, C = int(W), int(H), 1 if C == 'W' else 0 for i in range(H): print(s[i + C: i + C + W])