input_params = list(input().split())
wide = int(input_params[0])
height = int(input_params[1])
start = input_params[2]

cur = start
cur_head = start

for h in range(height):
    cur_head = cur
    for w in range(wide):
        print(cur, end="")
        if cur == 'W':
            cur = 'B'
        else:
            cur = 'W'
    print()
    if cur_head == 'W':
        cur = 'B'
    else:
        cur = 'W'