Problem: Heidi enjoyed performing the simulation because she knew exactly when a new universe would be formed and where, and when a non-existent link would be broken and where.

However, the multiverse itself works in mysterious ways. Well, it works using probabilities, which to some people is mysterious.

At each unit time, when a decision is made, one of the two events will happen randomly. Let's denote l as the current length of the multiverse. With a probability of p_{create} = 1 - l/m, a universe will be created. With a probability of p_{break}=l/m, a non-existent link will be broken at some position.

More specifically, 

  * When a universe is created, it will manifest itself between any two adjacent universes or at one of the ends. Each position occurs with a probability of (1)/(l + 1). 
  * When a link is broken, it could be cut between any two adjacent universes, each with a probability of (1)/(l-1). After separating the multiverse into two segments, the segment NOT containing the Doctor will cease to exist. 



As earlier, the Doctor remains in the same universe. However, if at some point the multiverse breaks in such a way that the Doctor finds himself at the leftmost or rightmost end of it, the TARDIS stops functioning.

In such a case, the Doctor must actually walk across the multiverse to find the tools to fix it.

We are interested in the expected value of the length of the multiverse when such an event occurs.

Input

The first and only line contains three integers n, k and m (1 ≤ k ≤ n ≤ m ≤ 250), the initial length of the multiverse, the initial position of the Doctor, and the maximum possible length of the multiverse.

Output

Output a single integer on a single line, indicating the expected length of the multiverse.

If the answer is p/q, please print r where p ≡ r ⋅ q (mod  10^9 + 7).

Examples

Input


2 1 2


Output


2


Input


2 2 10


Output


2


Input


3 2 3


Output


2


Input


3 2 5


Output


941659828


Input


10 4 20


Output


196683114

Note

For the first and the second test case, without any change to the multiverse, the Doctor is already at one of the ends.

For the third test case, the multiverse can only break at a position, which renders the Doctor at one of its ends.

For the fourth case, things seem to be a little more complicated, because the multiverse can grow and then be broken again.

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
const int mod = 1e9 + 7;
inline int add(int x, int y) { return x + y >= mod ? x + y - mod : x + y; }
inline int dec(int x, int y) { return x < y ? x - y + mod : x - y; }
inline int mul(int x, int y) { return 1ll * x * y % mod; }
inline int qpow(int n, int k) {
  int ret = 1;
  while (k) {
    if (k & 1) ret = mul(ret, n);
    n = mul(n, n);
    k >>= 1;
  }
  return ret;
}
int n, k, m;
const int N = 250;
struct poly {
  int a[N + 10];
  poly() { memset(a, 0, sizeof(a)); }
  int& operator[](int x) { return a[x]; }
} f[N + 10][N + 10], g[N + 10][N + 10], fc[N + 10];
poly operator+(poly a, poly b) {
  poly ret;
  for (int i = 1; i <= m - 1; ++i) ret[i] = add(a[i], b[i]);
  return ret;
}
poly operator-(poly a, poly b) {
  poly ret;
  for (int i = 1; i <= m - 1; ++i) ret[i] = dec(a[i], b[i]);
  return ret;
}
poly operator*(poly a, int k) {
  for (int i = 1; i <= m - 1; ++i) a[i] = mul(a[i], k);
  return a;
}
void print(poly a) {
  for (int i = 1; i <= m - 1; ++i) {
    printf("%d ", a[i]);
  }
  puts("");
}
int ans[N + 10];
void gauss(int n) {
  for (int i = 1; i <= n; ++i) {
    for (int j = i; j <= n; ++j) {
      if (fc[j][i]) {
        for (int k = 1; k <= n + 1; ++k) {
          swap(fc[j][k], fc[i][k]);
        }
        break;
      }
    }
    if (!fc[i][i]) {
      puts("我信你个鬼，你个糟老头子坏得很");
      return;
    }
    int div = qpow(fc[i][i], mod - 2);
    for (int j = 1; j <= n + 1; ++j) {
      fc[i][j] = mul(fc[i][j], div);
    }
    for (int j = i + 1; j <= n; ++j) {
      int sb = fc[j][i];
      for (int k = 1; k <= n + 1; ++k) {
        fc[j][k] = dec(fc[j][k], mul(sb, fc[i][k]));
      }
    }
  }
  for (int i = n; i >= 1; --i) {
    ans[i] = fc[i][n + 1];
    for (int j = i + 1; j <= n; ++j) {
      ans[i] = dec(ans[i], mul(ans[j], fc[i][j]));
    }
  }
}
int inv[N + 10];
void init() {
  inv[1] = 1;
  for (int i = 2; i <= N; ++i)
    inv[i] = 1ll * inv[mod % i] * (mod - mod / i) % mod;
}
int main() {
  init();
  scanf("%d%d%d", &n, &k, &m);
  if (k == 1 || k == n) {
    printf("%d\n", n);
    return 0;
  }
  for (int i = 3; i <= m; ++i) {
    f[i][2][i - 2] = 1;
  }
  for (int j = 2; j <= m; ++j) {
    poly pre;
    for (int i = j + 1; i <= m; ++i) {
      poly now = f[i][j];
      now[m - 1] = dec(now[m - 1], mul(i + 1, mul(i, mul(inv[m], inv[i - 1]))));
      now = now - (pre + g[i - 1][j - 1]) * (mul(i, mul(inv[m], inv[i - 1])));
      if (i == m) {
        fc[j - 1] = now;
        fc[j - 1][m - 1] = dec(mod, fc[j - 1][m - 1]);
        break;
      }
      now = now -
            f[i + 1][j] * (mul(m - i, mul(i + 1 - j, mul(inv[i + 1], inv[m]))));
      now = now * (mul(m, mul(i + 1, mul(inv[m - i], inv[j]))));
      f[i + 1][j + 1] = now;
      pre = pre + f[i][j];
      g[i][j] = g[i - 1][j - 1] + f[i][j];
    }
  }
  gauss(m - 2);
  int Ans = 0;
  for (int i = 1; i <= m - 2; ++i) {
    Ans = add(Ans, mul(ans[i], f[n][k][i]));
  }
  Ans = add(Ans, f[n][k][m - 1]);
  printf("%d\n", Ans);
}