Problem: In 2N - 1 boxes there are apples and oranges. Your task is to choose N boxes so, that they will contain not less than half of all the apples and not less than half of all the oranges.

Input

The first input line contains one number T — amount of tests. The description of each test starts with a natural number N — amount of boxes. Each of the following 2N - 1 lines contains numbers ai and oi — amount of apples and oranges in the i-th box (0 ≤ ai, oi ≤ 109). The sum of N in all the tests in the input doesn't exceed 105. All the input numbers are integer.

Output

For each test output two lines. In the first line output YES, if it's possible to choose N boxes, or NO otherwise. If the answer is positive output in the second line N numbers — indexes of the chosen boxes. Boxes are numbered from 1 in the input order. Otherwise leave the second line empty. Separate the numbers with one space.

Examples

Input

2
2
10 15
5 7
20 18
1
0 0


Output

YES
1 3
YES
1

Solution (in JAVA):

Solution:
import java.io.*;
import java.util.Arrays;
import java.util.StringTokenizer;

/**
 * Created by peacefrog on 11/4/15.
 * Time : 5:41 PM
 */

public class OrangeAndApples23C {
	final boolean ONLINE_JUDGE = System.getProperty("ONLINE_JUDGE") != null;
	PrintWriter out;
	long timeBegin, timeEnd;

	public void runIO() throws IOException {
		timeBegin = System.currentTimeMillis();

		InputStream inputStream;
		OutputStream outputStream;


		if (ONLINE_JUDGE) {
			inputStream = System.in;
			Reader.init(inputStream);
			outputStream = System.out;

			out = new PrintWriter(outputStream);

		} else {
			inputStream = new FileInputStream("/home/peacefrog/Dropbox/IdeaProjects/Problem Solving/input");
			Reader.init(inputStream);
			out = new PrintWriter("output.txt");
		}

		solve();

		out.flush();
		out.close();
		timeEnd = System.currentTimeMillis();

		System.err.println("Time = " + (timeEnd - timeBegin));

	}

	/*
	 * Start Solution Here
	 */
	Node[] ins;
	private void solve() throws IOException {
		long test = Reader.nextLong()  ;

		while (test-->0) {
			int N = Reader.nextInt();
			int mul = 2 * N - 1;

			ins = new Node[mul + 1];
			ins[0] = new Node(Integer.MIN_VALUE , Integer.MIN_VALUE);
			for (int i = 1; i <= mul; i++) {
				ins[i] = new Node(Reader.nextLong(), Reader.nextLong());
				ins[i].in = i;
			}

			Arrays.sort(ins);
//			for (Node a : ins) {
//				System.out.println(a.or + " " + a.in);
//			}
			out.println("YES");
			for (int i = 2 ; i < mul ; i+= 2)
			{
				if(ins[i].or > ins[i-1].or)out.print(ins[i].in + " ");
				else out.print(ins[i-1].in + " ");
			}
			out.println(ins[mul].in);
		}
	}

	class Node implements Comparable<Node>{
		long app , or , in ;
		public Node(long app, long or) {
			this.app = app;
			this.or = or;
		}

		@Override
		public int compareTo(Node o) {
			return Long.compare(app , o.app);
		}
	}

	public static void main(String[] args) throws IOException {
		new OrangeAndApples23C().runIO();
	}

	static class Reader {
		static BufferedReader reader;
		static StringTokenizer tokenizer;

		/**
		 * call this method to initialize reader for InputStream
		 */
		static void init(InputStream input) {
			reader = new BufferedReader(new InputStreamReader(input));
			tokenizer = new StringTokenizer("");
		}

		/**
		 * get next word
		 */
		static String next() {
			while (tokenizer == null || !tokenizer.hasMoreTokens()) {
				try {
					tokenizer = new StringTokenizer(reader.readLine());
				} catch (IOException e) {
					throw new RuntimeException(e);
				}
			}
			return tokenizer.nextToken();
		}

		static String nextLine() {
			try {
				return reader.readLine();
			} catch (IOException e) {
				e.printStackTrace();
			}
			return "";
		}

		static int nextInt() throws IOException {
			return Integer.parseInt(next());
		}

		static long nextLong() throws IOException {
			return Long.parseLong(next());
		}

		static double nextDouble() throws IOException {
			return Double.parseDouble(next());
		}
	}
}