#include using namespace std; int main(){ int a,b,count=0; char k[55][55]; cin>>a>>b; for(int i=0;i>k[i][j]; if(k[i][j]=='W') count++; } } cout<