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;
int n, k, m, ri[255];
const int mod = 1e9 + 7;
struct num {
  vector<int> vec;
  num(int k = 0, int x = 0) {
    vec.assign(max(1, m - 1), 0);
    vec[k] = x;
  }
  num operator+(const num &n) {
    num rlt = *this;
    for (int i = 0; i < m - 1; i++) {
      if ((rlt.vec[i] += n.vec[i]) >= mod) rlt.vec[i] -= mod;
    }
    return rlt;
  }
  num operator-(const num &n) {
    num rlt = *this;
    for (int i = 0; i < m - 1; i++) {
      if ((rlt.vec[i] -= n.vec[i]) < 0) rlt.vec[i] += mod;
    }
    return rlt;
  }
  num operator*(int x) {
    num rlt = *this;
    for (int i = 0; i < m - 1; i++) rlt.vec[i] = 1ll * rlt.vec[i] * x % mod;
    return rlt;
  }
} dp[255][255], ep[255][255], fp[255][255];
int cn, cm, a[255][255], b[255], x[255];
int inv(int x) {
  int rlt = 1, p = mod - 2;
  while (p) {
    if (p & 1) rlt = 1ll * rlt * x % mod;
    x = 1ll * x * x % mod, p >>= 1;
  }
  return rlt;
}
int Gauss() {
  int r = 0;
  for (int i = 0; i < cn; i++) {
    int j = r;
    for (int k = r; k < cm; k++)
      if (a[k][i] > a[j][i]) j = k;
    if (!a[j][i]) continue;
    swap(b[r], b[j]);
    for (int k = 0; k < cn; k++) swap(a[r][k], a[j][k]);
    for (j = 0; j < cm; j++)
      if (j != r && a[j][i]) {
        int tmp = 1ll * a[j][i] * inv(a[r][i]) % mod;
        b[j] = (b[j] - 1ll * tmp * b[r]) % mod;
        if (b[j] < 0) b[j] += mod;
        for (int k = 0; k < cn; k++) {
          a[j][k] = (a[j][k] - 1ll * tmp * a[r][k]) % mod;
          if (a[j][k] < 0) a[j][k] += mod;
        }
      }
    r++;
  }
  for (int i = 0; i < cm; i++)
    if (b[i]) {
      int j;
      for (j = 0; j < cn && !a[i][j]; j++)
        ;
      if (j == cn)
        return 0;
      else
        x[j] = 1ll * b[i] * inv(a[i][j]) % mod;
    }
  return r < cn ? -1 : 1;
}
int main() {
  ri[1] = 1;
  for (int i = 2; i < 255; i++)
    ri[i] = 1ll * (mod - mod / i) * ri[mod % i] % mod;
  scanf("%d %d %d", &n, &k, &m);
  if (n <= 2) return printf("%d\n", n), 0;
  for (int i = 1; i <= m; i++) {
    dp[i][1] = dp[i][i] = num(0, i);
    if (i > 2) dp[i][2] = num(i - 2, 1);
    if (i > 2) ep[i][2] = dp[i - 1][1];
    fp[i + 1][i] = dp[i][i];
  }
  for (int i = 4; i <= m; i++) {
    for (int j = 2; j < i - 1; j++) {
      num rlt = num();
      rlt = rlt + ep[i - 1][j] + fp[i - 1][j];
      rlt = rlt * (1ll * ri[i - 2] * ri[m] % mod * (i - 1) % mod);
      rlt = dp[i - 1][j] - rlt;
      rlt = rlt * (1ll * i * m % mod * ri[m - i + 1] % mod);
      rlt = rlt - dp[i][j] * (i - j);
      dp[i][j + 1] = rlt * ri[j];
      ep[i][j + 1] = ep[i - 1][j] + dp[i - 1][j];
      fp[i][j] = fp[i - 1][j] + dp[i - 1][j];
    }
  }
  for (int i = 2; i < m; i++) {
    num rlt = num();
    for (int x = 1; x < i; x++) rlt = rlt + dp[m - x][i - x];
    for (int x = i; x < m; x++) rlt = rlt + dp[x][i];
    rlt = rlt * ri[m - 1];
    dp[m + 1][i] = dp[m][i] - rlt;
  }
  cm = cn = m - 2;
  for (int i = 0; i < cm; i++) {
    for (int j = 0; j < cn; j++) a[i][j] = dp[m + 1][i + 2].vec[j + 1];
    b[i] = mod - dp[m + 1][i + 2].vec[0];
    if (b[i] == mod) b[i] = 0;
  }
  assert(Gauss() == 1);
  int rlt = dp[n][k].vec[0];
  for (int i = 1; i < m - 1; i++) {
    rlt = (rlt + 1ll * dp[n][k].vec[i] * x[i - 1]) % mod;
  }
  printf("%d\n", rlt);
  return 0;
}