ll h,w; char p[60][60]; double b=1e99,d; { rd(h,w,p(h)); rep(u,-1,w+1)rep(v,-1,h+1)if(!(0<=u