#include using namespace std; using ll =long long; #define all(v) v.begin(),v.end() #define rep(i,a,b) for(int i=a;i=b;i--) int main() { ll N;cin>>N; vector> vec(N,vector (5)); for(ll i=0;i>vec[i][j]; } vector note((1LL<<5),-1000000000000000); for(ll i=0;i<(1LL<<5);i++) { for(ll j=0;j