#include #define FOR(i,x,y) for(int i=x;i>n>>m; FOR(i,0,n*m){ cin>>c; if(c=='W')ans++; } cout<