#include using namespace std; int main(){ long N,M; cin>>N>>M; cout <>p; vector>map(N,vector(M,1)); for(int i=0;i2&&M>2){ for(int i=0;i