Problem: An e-commerce startup pitches to the investors to get funding. They have been functional for n weeks now and also have a website!

For each week they know the number of unique visitors during this week vi and the revenue ci. To evaluate the potential of the startup at some range of weeks from l to r inclusive investors use the minimum among the maximum number of visitors multiplied by 100 and the minimum revenue during this period, that is: 

<image>

The truth is that investors have no idea how to efficiently evaluate the startup, so they are going to pick some k random distinct weeks li and give them to managers of the startup. For each li they should pick some ri ≥ li and report maximum number of visitors and minimum revenue during this period.

Then, investors will calculate the potential of the startup for each of these ranges and take minimum value of p(li, ri) as the total evaluation grade of the startup. Assuming that managers of the startup always report the optimal values of ri for some particular li, i.e., the value such that the resulting grade of the startup is maximized, what is the expected resulting grade of the startup? 

Input

The first line of the input contains two integers n and k (1 ≤ k ≤ n ≤ 1 000 000).

The second line contains n integers vi (1 ≤ vi ≤ 107) — the number of unique visitors during each week.

The third line contains n integers ci (1 ≤ ci ≤ 107) —the revenue for each week.

Output

Print a single real value — the expected grade of the startup. Your answer will be considered correct if its absolute or relative error does not exceed 10 - 6. 

Namely: let's assume that your answer is a, and the answer of the jury is b. The checker program will consider your answer correct, if <image>.

Examples

Input

3 2
3 2 1
300 200 300


Output

133.3333333

Note

Consider the first sample.

If the investors ask for li = 1 onwards, startup will choose ri = 1, such that max number of visitors is 3 and minimum revenue is 300. Thus, potential in this case is min(3·100, 300) = 300.

If the investors ask for li = 2 onwards, startup will choose ri = 3, such that max number of visitors is 2 and minimum revenue is 200. Thus, potential in this case is min(2·100, 200) = 200.

If the investors ask for li = 3 onwards, startup will choose ri = 3, such that max number of visitors is 1 and minimum revenue is 300. Thus, potential in this case is min(1·100, 300) = 100.

We have to choose a set of size 2 equi-probably and take minimum of each. The possible sets here are : {200, 300},{100, 300},{100, 200}, effectively the set of possible values as perceived by investors equi-probably: {200, 100, 100}. Thus, the expected value is (100 + 200 + 100) / 3 = 133.(3).

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
bool dbg = 0;
void bad(string mes = "Impossible") {
  cout << mes;
  exit(0);
}
template <typename T>
string bin(T x, int st = 2) {
  string ans = "";
  while (x > 0) {
    ans += char('0' + x % st);
    x /= st;
  }
  reverse(ans.begin(), ans.end());
  return ans.empty() ? "0" : ans;
}
template <typename T>
T input() {
  T ans = 0, m = 1;
  char c = ' ';
  while (!((c >= '0' && c <= '9') || c == '-')) {
    c = getchar();
  }
  if (c == '-') m = -1, c = getchar();
  while (c >= '0' && c <= '9') {
    ans = ans * 10 + (c - '0'), c = getchar();
  }
  return ans * m;
}
template <typename T>
void read(T& a) {
  a = input<T>();
}
template <typename T>
void read(T& a, T& b) {
  read(a), read(b);
}
template <typename T>
void read(T& a, T& b, T& c) {
  read(a, b), read(c);
}
template <typename T>
void read(T& a, T& b, T& c, T& d) {
  read(a, b), read(c, d);
}
void reads(string& second) {
  string ans = "";
  char c = '\n';
  while (c == '\n' || c == ' ') c = getchar();
  while (c != '\n' && c != ' ' && c) ans += c, c = getchar();
  second = ans;
}
const int inf = 1e9;
const double eps = 1e-9;
const int maxn = 1e6 + 10, base = 1e9 + 7;
const long long llinf = 1e18 + 5;
template <typename T>
T binpow(T n, T second) {
  if (second <= 0) return 1LL;
  if (second % 2 == 0) {
    T b = binpow(n, second / 2);
    return (1LL * b * b) % base;
  } else {
    return (1LL * binpow(n, second - 1) * n) % base;
  }
}
int v[maxn], c[maxn];
int lg[maxn];
int mnSt[maxn][22];
int n, k;
void buildMn() {
  for (int i = 0; i < n; i++) mnSt[i][0] = c[i];
  for (int i = 1; i < 22; i++)
    for (int j = 0; j + (1 << i) <= n; j++) {
      mnSt[j][i] = min(mnSt[j][i - 1], mnSt[j + (1 << (i - 1))][i - 1]);
    }
}
int mxSt[maxn][22];
void buildMx() {
  for (int i = 0; i < n; i++) mxSt[i][0] = v[i];
  for (int i = 1; i < 22; i++)
    for (int j = 0; j + (1 << i) <= n; j++) {
      mxSt[j][i] = max(mxSt[j][i - 1], mxSt[j + (1 << (i - 1))][i - 1]);
    }
}
int get_min(int l, int r) {
  int j = lg[r - l + 1];
  return min(mnSt[l][j], mnSt[r - (1 << j) + 1][j]);
}
int get_max(int l, int r) {
  int j = lg[r - l + 1];
  return max(mxSt[l][j], mxSt[r - (1 << j) + 1][j]);
}
int main() {
  for (int i = 2; i < maxn; i++) {
    lg[i] = lg[i / 2] + 1;
  }
  read(n, k);
  for (int i = 0; i < n; i++) read(v[i]), v[i] *= 100;
  for (int i = 0; i < n; i++) read(c[i]);
  buildMn();
  buildMx();
  long double res = 0;
  vector<int> mda;
  for (int i = 0; i < n; i++) {
    int l = i, r = n - 1;
    while (r - l > 1) {
      int m = (l + r) >> 1;
      if (get_min(i, m) < get_max(i, m))
        r = m;
      else
        l = m;
    }
    int kek = -inf;
    for (int j = max(i, l - 5); j <= min(n - 1, l + 5); j++) {
      kek = max(kek, min(get_min(i, j), get_max(i, j)));
    }
    mda.push_back(kek);
  }
  sort((mda).begin(), (mda).end());
  long double cf = (long double)n / k;
  int first = n - 1;
  for (int i = 0; first >= k - 1; i++, first--) {
    res += (long double)mda[i] / cf;
    cf *= (long double)n - i - 1;
    cf /= (long double)n - k - i;
  }
  cout << fixed << setprecision(20) << res;
  return 0;
}