#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define BET(a,b,c) ((a)<=(b)&&(b)<(c)) #define FOR(i,n) for(int i=0,i##_end=(int(n));i VI; typedef vector VVI; int main() { int W,H; char C; cin>>W>>H>>C; char C2 = C == 'B' ? 'W' : 'B'; FOR(i,H) { FOR(j,W){ cout<<((i+j)%2==0?C:C2); } cout<