#P1446A. Knapsack

    ID: 1066 Type: RemoteJudge 2000ms 256MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>constructive algorithmsgreedysortings*1300

Knapsack

No submission language available for this problem.

Description

You have a knapsack with the capacity of WW. There are also nn items, the ii-th one has weight wiw_i.

You want to put some of these items into the knapsack in such a way that their total weight CC is at least half of its size, but (obviously) does not exceed it. Formally, CC should satisfy: W2CW\lceil \frac{W}{2}\rceil \le C \le W.

Output the list of items you will put into the knapsack or determine that fulfilling the conditions is impossible.

If there are several possible lists of items satisfying the conditions, you can output any. Note that you don't have to maximize the sum of weights of items in the knapsack.

Each test contains multiple test cases. The first line contains the number of test cases tt (1t1041 \le t \le 10^4). Description of the test cases follows.

The first line of each test case contains integers nn and WW (1n2000001 \le n \le 200\,000, 1W10181\le W \le 10^{18}).

The second line of each test case contains nn integers w1,w2,,wnw_1, w_2, \dots, w_n (1wi1091 \le w_i \le 10^9) — weights of the items.

The sum of nn over all test cases does not exceed 200000200\,000.

For each test case, if there is no solution, print a single integer 1-1.

If there exists a solution consisting of mm items, print mm in the first line of the output and mm integers j1j_1, j2j_2, ..., jmj_m (1jin1 \le j_i \le n, all jij_i are distinct) in the second line of the output  — indices of the items you would like to pack into the knapsack.

If there are several possible lists of items satisfying the conditions, you can output any. Note that you don't have to maximize the sum of weights items in the knapsack.

Input

Each test contains multiple test cases. The first line contains the number of test cases tt (1t1041 \le t \le 10^4). Description of the test cases follows.

The first line of each test case contains integers nn and WW (1n2000001 \le n \le 200\,000, 1W10181\le W \le 10^{18}).

The second line of each test case contains nn integers w1,w2,,wnw_1, w_2, \dots, w_n (1wi1091 \le w_i \le 10^9) — weights of the items.

The sum of nn over all test cases does not exceed 200000200\,000.

Output

For each test case, if there is no solution, print a single integer 1-1.

If there exists a solution consisting of mm items, print mm in the first line of the output and mm integers j1j_1, j2j_2, ..., jmj_m (1jin1 \le j_i \le n, all jij_i are distinct) in the second line of the output  — indices of the items you would like to pack into the knapsack.

If there are several possible lists of items satisfying the conditions, you can output any. Note that you don't have to maximize the sum of weights items in the knapsack.

Samples

Sample Input 1

3
1 3
3
6 2
19 8 19 69 9 4
7 12
1 1 1 17 1 1 1

Sample Output 1

1
1
-1
6
1 2 3 5 6 7

Note

In the first test case, you can take the item of weight 33 and fill the knapsack just right.

In the second test case, all the items are larger than the knapsack's capacity. Therefore, the answer is 1-1.

In the third test case, you fill the knapsack exactly in half.