#include using namespace std; using ll=long long; int main(){ int N; cin>>N; vector> a(N,vector(N)); for(int i=0;i>a[i][j]; int e=-1; for(int i=0;i