#import using namespace std;int h,w,I,J,i,j,k;main(){cin>>h>>w;vectors(h);for(auto&i:s)cin>>i;for(;i