func_code_string: #include <bits/stdc++.h>   using namespace std;   const int N = 4e5 + 2;   signed main() {     ios::sync_with_stdio(false);     cin.tie(0);     srand(time(NULL));     int N;     long long sa = 0, sb = 0;     cin >> N;     vector<int> A(N), B(N), ind(N);     iota(ind.begin(), ind.end(), 0);     for (int i = 0; i < N; ++i) {       cin >> A[i];       sa += A[i];     }     for (int i = 0; i < N; ++i) {       cin >> B[i];       sb += B[i];     }     int ok = (N >> 1) + 1;     while (1) {       mt19937 rng(std::chrono::steady_clock::now().time_since_epoch().count());       long long x = 0, y = 0;       random_shuffle(ind.begin(), ind.end());       for (int i = 0; i < ok; ++i) {         x += A[ind[i]];         y += B[ind[i]];       }       if (x << 1LL > sa && y << 1LL > sb) {         cout << ok <<   n ;         for (int i = 0; i < ok; ++i) {           cout << ind[i] + 1 <<    ;         }         exit(0);       }     }     return 0;   }   