#include using namespace std; int main(){ int n; cin>>n; vectora(n); vector>b(n,vector(n)); for(int i=0;i>a[i]; for(int i=0;i>b[i][j]; } int64_t ans=-1,ansb=0; for(int i=0;i<(1<>j&1){ now+=a[j]; for(int k=j+1;k>k&1)now+=b[j][k]; } } } if(now>ans){ ans=now,ansb=i; } } vectorret; for(int i=0;i>i&1)ret.push_back(i+1); } cout<