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