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;
enum STATE { IN, OUT, BOUNDRY };
const double PI = acos(-1.0);
void fast_in_out() {
  std::ios_base::sync_with_stdio(NULL);
  cin.tie(NULL);
  cout.tie(NULL);
}
int dx[] = {0, 0, -1, 1, -1, 1, -1, 1, 0};
int dy[] = {-1, 1, 0, 0, -1, -1, 1, 1, 0};
int lx[] = {2, 2, -1, 1, -2, -2, -1, 1, 0};
int ly[] = {-1, 1, 2, 2, 1, -1, -2, -2, 0};
const double eps = 1e-9;
const int N = 300 + 50, M = 50 + 10, mod = 1e9 + 7;
long long gcd(long long a, long long b) { return b ? gcd(b, a % b) : a; }
long long psk[M][M];
void fill_psky() {
  for (int i = 0; i < M; i++) {
    psk[i][0] = 1;
    psk[i][i] = 1;
  }
  for (int i = 1; i < M; i++)
    for (int j = 1; j <= i; j++) psk[i][j] = psk[i - 1][j] + psk[i - 1][j - 1];
}
double dp[M][M][M];
bool vis[M][M][M];
int n, m;
int a[M];
double solve(int ind, int rem, int mx) {
  if (ind == m) return rem == 0 ? mx : 0;
  double &ret = dp[ind][rem][mx];
  if (vis[ind][rem][mx]) return ret;
  vis[ind][rem][mx] = 1;
  ret = 0;
  for (int i = 0; i <= rem; i++) {
    int x = (i + a[ind] - 1) / a[ind];
    ret += psk[rem][i] * solve(ind + 1, rem - i, max(mx, x)) / pow(m, i);
  }
  return ret;
}
int main() {
  fast_in_out();
  cout << fixed << setprecision(9);
  cin >> n >> m;
  for (int i = 0; i < m; i++) cin >> a[i];
  fill_psky();
  double ans = 0;
  cout << solve(0, n, 0);
  return 0;
}