#include using namespace std; using ll=long long; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); ll N,K; cin>>N>>K; ll SY,SX,GY,GX; cin>>SY>>SX>>GY>>GX; SY--;SX--;GY--;GX--; bool ys=0,xs=0; if(SY>GY){ swap(SY,GY); ys=1; } if(SX>GX){ swap(SX,GX); xs=1; } ll d=(GX-SX)+(GY-SY); if(K2*K){ cout<<-1<<"\n"; } ll e=K-d; vector S(N,string(N,'.')); for(int i=0;i