#include using namespace std; int main(){ int w,h; char c; cin>>w>>h>>c; vector bw(2); bw[0]=c; bw[1]=(c=='B'?'W':'B'); for(int i=0;i