Problem: There is a road with length l meters. The start of the road has coordinate 0, the end of the road has coordinate l.

There are two cars, the first standing at the start of the road and the second standing at the end of the road. They will start driving simultaneously. The first car will drive from the start to the end and the second car will drive from the end to the start.

Initially, they will drive with a speed of 1 meter per second. There are n flags at different coordinates a_1, a_2, …, a_n. Each time when any of two cars drives through a flag, the speed of that car increases by 1 meter per second.

Find how long will it take for cars to meet (to reach the same coordinate). 

Input

The first line contains one integer t (1 ≤ t ≤ 10^4): the number of test cases.

The first line of each test case contains two integers n, l (1 ≤ n ≤ 10^5, 1 ≤ l ≤ 10^9): the number of flags and the length of the road.

The second line contains n integers a_1, a_2, …, a_n in the increasing order (1 ≤ a_1 < a_2 < … < a_n < l).

It is guaranteed that the sum of n among all test cases does not exceed 10^5.

Output

For each test case print a single real number: the time required for cars to meet.

Your answer will be considered correct, if its absolute or relative error does not exceed 10^{-6}. More formally, if your answer is a and jury's answer is b, your answer will be considered correct if \frac{|a-b|}{max{(1, b)}} ≤ 10^{-6}.

Example

Input


5
2 10
1 9
1 10
1
5 7
1 2 3 4 6
2 1000000000
413470354 982876160
9 478
1 10 25 33 239 445 453 468 477


Output


3.000000000000000
3.666666666666667
2.047619047619048
329737645.750000000000000
53.700000000000000

Note

In the first test case cars will meet in the coordinate 5.

The first car will be in the coordinate 1 in 1 second and after that its speed will increase by 1 and will be equal to 2 meters per second. After 2 more seconds it will be in the coordinate 5. So, it will be in the coordinate 5 in 3 seconds.

The second car will be in the coordinate 9 in 1 second and after that its speed will increase by 1 and will be equal to 2 meters per second. After 2 more seconds it will be in the coordinate 5. So, it will be in the coordinate 5 in 3 seconds.

In the second test case after 1 second the first car will be in the coordinate 1 and will have the speed equal to 2 meters per second, the second car will be in the coordinate 9 and will have the speed equal to 1 meter per second. So, they will meet after (9-1)/(2+1) = 8/3 seconds. So, the answer is equal to 1 + 8/3 = 11/3.

Solution (in JAVA):

Solution:
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Set;
import java.util.StringTokenizer;
import java.util.TreeMap;
import java.util.TreeSet;

public class Solution {
	private BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
	private BufferedWriter out = new BufferedWriter(new OutputStreamWriter(System.out));
	private StringTokenizer st;
	private Long MOD = 1000000007L;

	public static void main(String[] args) throws Exception {
		new Solution().solve();
	}

	private void solve() throws Exception {

		int testCases = 1;
		testCases = Integer.parseInt(in.readLine().trim());
		for (int i = 1; i <= testCases; i++) {
			solve(i);
		}

		out.flush();
		out.close();
	}

	private void solve(int testCaseNumber) throws Exception {

		int input[] = ria(2);
		int n = input[0];
		double l = input[1];

		int[] ds = ria(n);
		
		double t1[] = new double[n];
		double t2[] = new double[n];
		
		
		double pre = 0;
		double speed = 1;
		double preTime = 0;
		for(int i = 0; i < n; i++) {
			double d = ds[i] - pre;
			
			t1[i] = d/ speed;
			t1[i] += preTime;
			
			preTime = t1[i];
			speed++;
			pre = ds[i];
		}
		
		
		pre = l;
		speed = 1;
		preTime = 0;
		for(int i = n - 1; i >= 0; i--) {
			double d = pre - ds[i];
			
			t2[i] = d/speed;
			t2[i] += preTime;
			
			preTime = t2[i];
			speed++;
			pre = ds[i];
		}
		
		
		for(int i = 0; i < n; i++) {
			if(t1[i] == t2[i])  {
				out.write(t1[i] + "\n");
				return;
			}
		}
		
		int idx = 0;
		for (idx = 0; idx < n; idx++) {
			if(t2[idx] < t1[idx]) break;
			
		}
		
//		System.out.println(Arrays.toString(t1));
//		System.out.println(Arrays.toString(t2));
//		System.out.println(idx);
		
		// at idx we have crossed
		// we meet between idx - 1 and idx
		
		double v1 = idx + 1;
		double v2 = n - idx + 1;
		double last = idx == 0 ? 0 : ds[idx - 1];
		double nex = idx == n ? l : ds[idx]; 
		
		
		double baseTime = idx == 0  ? 0 : t1[idx - 1];
		double baseTime2 = idx == n ? 0 : t2[idx];
		
		
		double distanceToCover = nex - last;
		
		if(baseTime < baseTime2) {
			distanceToCover -= v1 * ( baseTime2 - baseTime);
		}
		
		if(baseTime > baseTime2) {
			distanceToCover -= v2 * ( baseTime - baseTime2);
		}
		double t = distanceToCover / ( v2 + v1) ;
		t += Math.max(baseTime, baseTime2); 
		System.out.printf("%f\n", t);

	}

	class Node implements Comparable<Node> {
		int s;
		int e;

		public Node(int i, int t) {
			// TODO Auto-generated constructor stub
			s = i;
			e = t;
		}

		@Override
		public int compareTo(Node o) {
			return s - o.s;
		}

	}

	// utilities below

	// IO UTILS
	String line() throws IOException {
		return in.readLine();
	}

	String l() throws IOException {
		return in.readLine();
	}

	StringTokenizer tokens() throws IOException {
		return new StringTokenizer(line());
	}

	long l(String s) {
		return Long.parseLong(s);
	}

	long rl() throws IOException {
		return l(line());
	}

	long[] rla(int n) throws IOException {
		long[] arr = new long[n];
		st = tokens();

		for (int i = 0; i < n; i++)
			arr[i] = l(st.nextToken());

		return arr;
	}

	int i(String s) {
		return Integer.parseInt(s);
	}

	int ri() throws IOException {
		return i(line());
	}

	int[] ria(int n) throws IOException {
		int[] arr = new int[n];
		st = tokens();

		for (int i = 0; i < n; i++)
			arr[i] = i(st.nextToken());

		return arr;
	}

	String rs() throws IOException {
		return line();
	}

	String[] rsa(int n) throws IOException {
		String s[] = new String[n];

		st = tokens();

		for (int i = 0; i < n; i++)
			s[i] = st.nextToken();

		return s;
	}
	// IO UTILS END

	// MATH UTILS

	long gcd(long a, long b) {
		return b == 0 ? a : gcd(b, a % b);
	}
	// MATH UTILS END
}