#include using namespace std; using ll=long long; int main(){ ll N,K; cin>>N>>K; if(K==0){ cout<<-1<> ans(N,vector(N)); for(ll i=0;i