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 JAVA):

Solution:
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStreamWriter;


import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map.Entry;
import java.util.TreeSet;


public final class CF_410_Distribution{

	static void log(int[] X){
		int L=X.length;
		for (int i=0;i<L;i++){
			logWln(X[i]+" ");
		}
		log("");
	}


	static void log(long[] X){
		int L=X.length;
		for (int i=0;i<L;i++){
			logWln(X[i]+" ");
		}
		log("");
	}
	static void log(Object[] X){
		int L=X.length;
		for (int i=0;i<L;i++){
			logWln(X[i]+" ");
		}
		log("");
	}


	static void log(Object o){
		logWln(o+"\n");
	}

	static void logWln(Object o){
		System.err.print(o);
		//	outputWln(o);

	}
	static void info(Object o){
		System.out.println(o);
		//output(o);
	}

	static void output(Object o){

		outputWln(""+o+"\n");

	}

	static void outputWln(Object o){
		// System.out.print(o);

		try {
			out.write(""+ o);
		} catch (Exception e) {

		}
	}


	static class Composite implements Comparable<Composite>{
		int v;
		int w;
		int idx;

		public int compareTo(Composite X){
			if (v!=X.v)
				return X.v-v;
			if (w!=X.w)
				return X.w-w;
			return idx-X.idx;
		}

		public Composite(int v, int w,int idx) {
			this.v = v;
			this.w = w;
			this.idx=idx;
		}

		public String toString(){
			return "["+v+" "+w+" "+(idx+1)+"]";
		}

	}




	// Global vars
	static BufferedWriter out;
	static InputReader reader;

	static long MOD=1000000007;


	static void process() throws Exception {



		out = new BufferedWriter(new OutputStreamWriter(System.out));
		reader=new InputReader(System.in);


		int n=reader.readInt();

		Composite[] ar=new Composite[n];

		long A=0;
		long B=0;
		int[] a=new int[n];
		int[] b=new int[n];

		for (int i=0;i<n;i++)
			a[i]=reader.readInt();
		for (int i=0;i<n;i++)
			b[i]=reader.readInt();

		for (int i=0;i<n;i++){
			ar[i]=new Composite(a[i],b[i],i);
			A+=a[i];
			B+=b[i];
		}
		boolean[] used=new boolean[n];
		Arrays.sort(ar);
		//log(ar);
		int t=0;
		int lim=n/2+1;
		output(lim);

		long sa=0;
		long sb=0;
		int num=0;
		if (n%2==1){
			used[0]=true;
			num++;
			outputWln((ar[0].idx+1)+" ");
			sa+=ar[0].v;
			sb+=ar[0].w;
		}
		for (int i=num;i+1<n;i+=2){
			if (ar[i].w>ar[i+1].w)
				t=i;
			else
				t=i+1;
			outputWln((ar[t].idx+1)+" ");
			//log("pick "+ar[t]);
			sa+=ar[t].v;
			sb+=ar[t].w;
			used[t]=true;
			num++;
		}
		t=0;
		if (num<lim){
			while (t<n && used[t])
				t++;
			if (t<n && !used[t]) {
				outputWln((ar[t].idx+1));
				sa+=ar[t].v;
				sb+=ar[t].w;	
				//log("pick "+ar[t]);
			}
		}
		output("");
		//log(ar);
		log(A-sa*2);
		log(B-sb*2);


		try {
			out.close();
		}
		catch (Exception e){}


	}


	public static void main(String[] args) throws Exception {
		process();

	}

	static final class InputReader {
		private final InputStream stream;
		private final byte[] buf = new byte[1024];
		private int curChar;
		private int numChars;

		public InputReader(InputStream stream) {
			this.stream = stream;
		}

		private int read() throws IOException {
			if (curChar >= numChars) {
				curChar = 0;
				numChars = stream.read(buf);
				if (numChars <= 0) {
					return -1;
				}
			}
			return buf[curChar++];
		}


		public final String readString() throws IOException {
			int c = read();
			while (isSpaceChar(c)) {
				c = read();
			}
			StringBuilder res=new StringBuilder();
			do {
				res.append((char)c);
				c = read();
			} while (!isSpaceChar(c));
			return res.toString();
		}

		public final int readInt() throws IOException {
			int c = read();
			boolean neg=false;
			while (isSpaceChar(c)) {
				c = read();
			}
			char d=(char)c;
			//log("d:"+d);
			if (d=='-') {
				neg=true;
				c = read();
			}
			int res = 0;
			do {
				res *= 10;
				res += c - '0';
				c = read();
			} while (!isSpaceChar(c));
			//log("res:"+res);
			if (neg)
				return -res;
			return res;

		}

		public final long readLong() throws IOException {
			int c = read();
			boolean neg=false;
			while (isSpaceChar(c)) {
				c = read();
			}
			char d=(char)c;
			//log("d:"+d);
			if (d=='-') {
				neg=true;
				c = read();
			}
			long res = 0;
			do {
				res *= 10;
				res += c - '0';
				c = read();
			} while (!isSpaceChar(c));
			//log("res:"+res);
			if (neg)
				return -res;
			return res;

		}




		private boolean isSpaceChar(int c) {
			return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
		}
	}


}