#include int h,w,i,j,x,y; char s[1002][1002]; int main() { scanf("%d%d",&h,&w); for(i=0;i