Problem: There are n students living in the campus. Every morning all students wake up at the same time and go to wash. There are m rooms with wash basins. The i-th of these rooms contains ai wash basins. Every student independently select one the rooms with equal probability and goes to it. After all students selected their rooms, students in each room divide into queues by the number of wash basins so that the size of the largest queue is the least possible. Calculate the expected value of the size of the largest queue among all rooms.

Input

The first line contains two positive integers n and m (1 ≤ n, m ≤ 50) — the amount of students and the amount of rooms. The second line contains m integers a1, a2, ... , am (1 ≤ ai ≤ 50). ai means the amount of wash basins in the i-th room.

Output

Output single number: the expected value of the size of the largest queue. Your answer must have an absolute or relative error less than 10 - 9.

Examples

Input

1 1
2


Output

1.00000000000000000000


Input

2 2
1 1


Output

1.50000000000000000000


Input

2 3
1 1 1


Output

1.33333333333333350000


Input

7 5
1 1 2 3 1


Output

2.50216960000000070000

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7;
const long long int MOD = 1e9 + 7;
long long int n, m, k, res = 0, ans = 0, sm = 0, edge = -1;
long long int a[500050], b[500050];
long double dp[55][55][55];
set<long long int> st, st1, st2;
set<long long int> stres;
string s, s1, s2, s3, s4;
vector<long long int> v, vnode, vans, v3;
vector<pair<int, int> > vv, vv1, adj[500005], v1, v2;
vector<pair<int, pair<int, int> > > vvv;
priority_queue<long long int> q;
map<pair<long long int, pair<int, int> >, long long int> red;
set<long long int>::iterator it, it1, it2;
int voyel(char c) {
  if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u' || c == 'y')
    return 1;
  return 0;
}
long long int comb[55][55];
void calc_combinaison() {
  comb[0][0] = 1;
  long long int z = 51;
  for (long long int i = 1; i <= 51; ++i) {
    comb[i][0] = comb[i][min(i, z)] = 1;
    for (long long int k = 1; k < min(i, z); ++k)
      comb[i][k] = (comb[i - 1][k - 1] + comb[i - 1][k]);
  }
}
long double solve(long long int r, long long int nbs, long long int maxsofar) {
  if (r == (m + 1)) return (nbs == 0) ? maxsofar : 0;
  long double &ret = dp[r][nbs][maxsofar];
  if (ret != -1) return ret;
  long double p = 1.0;
  long double ans = 0;
  for (long long int i = 0; i <= nbs; i++) {
    long long int largestqueue = (i + a[r] - 1) / a[r];
    ans +=
        comb[nbs][i] * p * solve(r + 1, nbs - i, max(maxsofar, largestqueue));
    p /= (long double)m;
  }
  return ret = ans;
}
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  long long int i = 0, j = 0, x, y, z = 0, mx = 0, nb0 = 0, nb = 0, nbmax = 0,
                nbinf = 0, mm = 5e9, idx = 0, ok = 0, l, r, negatif = 0,
                positif = 0, q, w, d;
  char c;
  cin >> n >> m;
  for (i = 1; i <= m; i++) cin >> a[i];
  for (i = 0; i <= 50; i++)
    for (j = 0; j <= 50; j++)
      for (k = 0; k <= 50; k++) dp[i][j][k] = -1;
  calc_combinaison();
  long double resd = solve(1, n, 0);
  cout << setprecision(15) << resd;
  return 0;
}