#include <bits/stdc++.h>
using namespace std;
const int MAX_N = 100005;
pair<pair<int, int>, int> a[MAX_N];
int n;
vector<int> res;
long long suma = 0, sumb = 0;
bool isValid() {
  long long Sa = 0, Sb = 0;
  for (int i = 1; i <= n / 2 + 1; i++) {
    Sa += a[i].first.first;
    Sb += a[i].first.second;
  }
  return (2 * Sa > suma && 2 * Sb > sumb);
}
int main() {
  scanf("%d", &n);
  for (int i = 1; i <= n; i++) scanf("%d", &a[i].first.first);
  for (int i = 1; i <= n; i++) scanf("%d", &a[i].first.second);
  for (int i = 1; i <= n; i++) a[i].second = i;
  for (int i = 1; i <= n; i++)
    suma += a[i].first.first, sumb += a[i].first.second;
  while (!isValid()) random_shuffle(a + 1, a + n + 1);
  cout << n / 2 + 1 << endl;
  for (int i = 1; i <= n / 2 + 1; i++) cout << a[i].second << ' ';
  return 0;
}
