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 <algorithm>
#include <cassert>
#include <cstring>
#include <iostream>
#include <vector>

using namespace std;

#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define REP(i, n) FOR(i, 0, n)
#define TRACE(x) cout << #x << " = " << x << endl
#define _ << " _ " <<

typedef long long llint;

int f[256][256][1<<5][1<<5];

int main(void) {
  int N, C;
  scanf("%d %d", &N, &C);
  vector<int> a(N);
  REP(i, N) scanf("%d", &a[i]);

  sort(a.begin(), a.end());
  N--;

  int M = C * N; // 250

  f[M][M][0][0] = 1;
  for (int cur = M; cur > 0; --cur) {
    for (int prev = M; prev > 0; --prev) {
      for (int mask1 = 0; mask1 < (1<<N); ++mask1) {
        for (int mask2 = 0; mask2 < (1<<N); ++mask2) {
          f[cur - 1][prev][mask1][mask2] += f[cur][prev][mask1][mask2];

          if (mask2 & (1<<((cur - 1) % N))) continue;

          for (int i = 0; i < N; ++i) {
            if ((mask1 & (1<<i)) == 0) {
              
              int x1 = (cur - 1) / N + a[i];
              int y1 = (cur - 1) % N;
              
              int x2 = prev / N;
              int y2 = prev % N;

              int ncur = cur - 1;
              int nprev = prev;
              int nmask1 = mask1 | (1<<i);
              int nmask2 = mask2 | (1<<y1);
              if (x1 > x2 || (x1 == x2 && y1 >= y2)) {
                nprev = cur - 1;
              }

              f[ncur][nprev][nmask1][nmask2] += f[cur][prev][mask1][mask2];
            }
          }
        }
      }
    }
  }

  llint ways = 0;
  REP(i, a[N] * N) {
    ways += f[0][i][(1<<N)-1][(1<<N)-1];
  }

  llint total = 1;
  REP(i, N) total *= i + 1;
  REP(i, N) total *= C;

  printf("%.15f\n", ways * 1.0 / total);
  return 0;
}