func_code_string: #include <bits/stdc++.h>   using namespace std;   int n;   pair<pair<int, int>, int> a[100100];   int main() {     ios_base::sync_with_stdio(0);     cin.tie(0);     cin >> n;     for (int i = 1; i <= n; i++) {       int x;       cin >> x;       a[i].first.first = x;     }     for (int i = 1; i <= n; i++) {       int x;       cin >> x;       a[i].first.second = x;       a[i].second = i;     }     sort(a + 1, a + n + 1);     reverse(a + 1, a + n + 1);     cout << (n / 2) + 1 << endl;     cout << a[1].second <<    ;     for (int i = 2; i <= n; i += 2) {       if (i == n)         cout << a[i].second;       else {         int x = a[i].second;         if (a[i + 1].first.second > a[i].first.second) x = a[i + 1].second;         cout << x <<    ;       }     }     return 0;   }   