Problem: You have a circle of length C, and you are placing N arcs on it. Arc i has length L_i.

Every arc i is placed on the circle uniformly at random: a random real point on the circle is chosen, then an arc of length L_i centered at this point appears.

Note that the arcs are placed independently. For example, they may intersect or contain each other.

What is the probability that every real point of the circle will be covered by at least one arc? Assume that an arc covers its ends.

Constraints

* 2 \leq N \leq 6
* 2 \leq C \leq 50
* 1 \leq L_i < C
* All input values are integers.

Input

Input is given from Standard Input in the following format:


N C
L_1 L_2 ... L_N


Output

Print the probability that every real point of the circle will be covered by at least one arc. Your answer will be considered correct if its absolute error doesn't exceed 10^{-11}.

Examples

Input

2 3
2 2


Output

0.3333333333333333


Input

4 10
1 2 3 4


Output

0.0000000000000000


Input

4 2
1 1 1 1


Output

0.5000000000000000


Input

3 5
2 2 4


Output

0.4000000000000000


Input

4 6
4 1 3 2


Output

0.3148148148148148


Input

6 49
22 13 27 8 2 19


Output

0.2832340720702695

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using uint = unsigned int;
#define rep(i,n) for(int i=0;i<int(n);i++)
#define rep1(i,n) for(int i=1;i<=int(n);i++)
#define per(i,n) for(int i=int(n)-1;i>=0;i--)
#define per1(i,n) for(int i=int(n);i>0;i--)
#define all(c) c.begin(),c.end()
#define si(x) int(x.size())
#define pb emplace_back
#define fs first
#define sc second
template<class T> using V = vector<T>;
template<class T> using VV = vector<vector<T>>;
template<class T,class U> void chmax(T& x, U y){if(x<y) x=y;}
template<class T,class U> void chmin(T& x, U y){if(y<x) x=y;}
template<class T> void mkuni(V<T>& v){sort(all(v));v.erase(unique(all(v)),v.end());}
template<class S,class T> ostream& operator<<(ostream& o,const pair<S,T> &p){
	return o<<"("<<p.fs<<","<<p.sc<<")";
}
template<class T> ostream& operator<<(ostream& o,const vector<T> &vc){
	o<<"{";
	for(const T& v:vc) o<<v<<",";
	o<<"}";
	return o;
}
constexpr ll TEN(int n) { return (n == 0) ? 1 : 10 * TEN(n-1); }

#ifdef LOCAL
#define show(x) cerr << "LINE" << __LINE__ << " : " << #x << " = " << (x) << endl
void dmpr(ostream& os){os<<endl;}
template<class T,class... Args>
void dmpr(ostream&os,const T&t,const Args&... args){
	os<<t<<" ~ ";
	dmpr(os,args...);
}
#define shows(...) cerr << "LINE" << __LINE__ << " : ";dmpr(cerr,##__VA_ARGS__)
#define dump(x) cerr << "LINE" << __LINE__ << " : " << #x << " = {";  \
	for(auto v: x) cerr << v << ","; cerr << "}" << endl;
#else
#define show(x) void(0)
#define dump(x) void(0)
#define shows(...) void(0)
#endif

ll solve(V<int> A, int X){
	sort(all(A));
	int N = A.size()-1;
	V<int> maskmax(1<<N);
	rep(s,1<<N){
		rep(i,N) if(s&1<<i) chmax(maskmax[s],A[i]);
	}
	VV<ll> cur(X+1,V<ll>(1<<N));
	cur[A.back()][0] = 1;
	rep(i,X){
		VV<ll> nxt(X+1,V<ll>(1<<N));
		for(int j=i;j<=X;j++) rep(s,1<<N) if(cur[j][s]){
			rep(ds,1<<N) if(!(s&ds)){
				int ns = s|ds;
				int nj = j;
				if(ds) chmax(nj,i+maskmax[ds]);
				chmin(nj,X);
				nxt[nj][ns] += cur[j][s];
			}
		}
		swap(cur,nxt);
	}
	return cur[X][(1<<N)-1];
}

//coef x^{n-1}
template<class T>
T interpolate(vector<T> xs,vector<T> ys){
	int N = xs.size();
	T ret = 0;
	rep(i,N){
		T a = ys[i];
		rep(j,N) if(j!=i) a /= xs[i]-xs[j];
		ret += a;
	}
	return ret;
}

int main(){
	cin.tie(0);
	ios::sync_with_stdio(false);		//DON'T USE scanf/printf/puts !!
	cout << fixed << setprecision(20);

	int N,X; cin >> N >> X;
	V<int> A(N); rep(i,N) cin >> A[i];
	V<ll> f(N+1);
	rep1(k,N){
		V<int> AA = A; rep(i,N) AA[i] *= k;
		f[k] = solve(AA,X*k);
		show(f[k]);
	}

	using D = long double;
	V<D> xs(N); rep(i,N) xs[i] = (i+1)*X;
	V<D> ys(N); rep(i,N) ys[i] = D(f[i+1]);
	cout << interpolate(xs,ys) << endl;
}