#include using namespace std; int H,W; string S[300]; main() { cin>>H>>W; for(int i=0;i>S[i]; int X=0; for(int j=0;j