#include using namespace std; typedef long long int ll; typedef pair P; typedef vector VI; typedef vector VVI; #define REP(i,n) for(int i=0;i<(n);i++) #define ALL(v) v.begin(),v.end() constexpr ll MOD=998244353; constexpr ll INF=1e18; ll power(ll x, ll y, ll m){ x%=m; ll ret=1; while(y){ if(y&1) ret=ret*x%m; x=x*x%m; y>>=1; } return ret; } int main(){ int n; cin >> n; VI a(n); REP(i,n) cin >> a[i]; VVI b(n,VI(n)); REP(i,n)REP(j,n) cin >> b[i][j]; int ans; ll mx=-INF; for(int i=1;i<(1<>=1; } } p>>=1; } if(mx>=1; } cout << endl; return 0; }