W, H, C = gets.split.map(&:to_i) (0...H).each{|h| (0...W).each{|w| if (h+w)%2 == 0 print "B" else print "W" end } puts }