#include using namespace std; int main() { int w,h; char c1,c2; cin>>w>>h>>c1; if(c1=='W'){ c2='B'; }else{ c2='W'; } for(int i=0;i