Problem: Mike has always been thinking about the harshness of social inequality. He's so obsessed with it that sometimes it even affects him while solving problems. At the moment, Mike has two sequences of positive integers A = [a1, a2, ..., an] and B = [b1, b2, ..., bn] of length n each which he uses to ask people some quite peculiar questions.

To test you on how good are you at spotting inequality in life, he wants you to find an "unfair" subset of the original sequence. To be more precise, he wants you to select k numbers P = [p1, p2, ..., pk] such that 1 ≤ pi ≤ n for 1 ≤ i ≤ k and elements in P are distinct. Sequence P will represent indices of elements that you'll select from both sequences. He calls such a subset P "unfair" if and only if the following conditions are satisfied: 2·(ap1 + ... + apk) is greater than the sum of all elements from sequence A, and 2·(bp1 + ... + bpk) is greater than the sum of all elements from the sequence B. Also, k should be smaller or equal to <image> because it will be to easy to find sequence P if he allowed you to select too many elements!

Mike guarantees you that a solution will always exist given the conditions described above, so please help him satisfy his curiosity!

Input

The first line contains integer n (1 ≤ n ≤ 105) — the number of elements in the sequences. 

On the second line there are n space-separated integers a1, ..., an (1 ≤ ai ≤ 109) — elements of sequence A.

On the third line there are also n space-separated integers b1, ..., bn (1 ≤ bi ≤ 109) — elements of sequence B.

Output

On the first line output an integer k which represents the size of the found subset. k should be less or equal to <image>.

On the next line print k integers p1, p2, ..., pk (1 ≤ pi ≤ n) — the elements of sequence P. You can print the numbers in any order you want. Elements in sequence P should be distinct.

Example

Input

5
8 7 4 8 3
4 2 5 3 7


Output

3
1 4 5

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
const int maxn = 2e5 + 100;
struct node {
  int a, b, id;
} a[maxn], b[maxn], c[maxn];
int vis[maxn] = {0};
int cmp1(node a, node b) {
  if (a.a == b.a)
    if (a.b == b.b)
      return a.id > b.id;
    else
      return a.b > b.b;
  return a.a > b.a;
}
int cmp2(node a, node b) {
  if (a.b == b.b)
    if (a.a == b.a) return a.id > b.id;
  return a.a > b.a;
  return a.b > b.b;
}
int main() {
  int n;
  long long sa = 0, sb = 0, ta = 0, tb = 0;
  cin >> n;
  for (int i = 1; i <= n; i++)
    scanf("%d", &a[i].a), c[i].a = b[i].a = a[i].a, b[i].id = a[i].id = i,
                          sa += a[i].a;
  for (int i = 1; i <= n; i++)
    scanf("%d", &a[i].b), c[i].b = b[i].b = a[i].b, sb += a[i].b;
  sort(a + 1, a + 1 + n, cmp1);
  sort(b + 1, b + 1 + n, cmp2);
  vis[a[1].id] = 1;
  ta += a[1].a;
  tb += a[1].b;
  int kk = 1;
  if (!(n & 1)) {
    int id;
    if (!vis[b[1].id])
      vis[b[1].id] = 1, id = b[1].id;
    else
      vis[b[2].id] = 1, id = b[2].id;
    ta += c[id].a;
    tb += c[id].b;
    for (int i = 1; i <= n; i++)
      if (a[i].id == id) a[i].a = 1e9 + 7;
    sort(a + 1, a + 1 + n, cmp1);
    kk++;
  }
  for (int i = 1 + 2 - (n & 1); i <= n; i += 2) {
    if (a[i].b >= a[i + 1].b)
      vis[a[i].id] = 1, ta += a[i].a, tb += a[i].b;
    else
      vis[a[i + 1].id] = 1, ta += a[i + 1].a, tb += a[i + 1].b;
    kk++;
  }
  int ii = 0;
  printf("%d\n", kk);
  for (int i = 1; i <= n; i++) {
    if (vis[i] == 1) {
      ii++;
      printf("%d%c", i, ii == kk ? '\n' : ' ');
    }
  }
  return 0;
}