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 maxn = 252;
const int mod = 1e9 + 7;
long long qpow(long long x, long long k) {
  return k == 0 ? 1 : qpow(x * x % mod, k >> 1) * (k & 1 ? x : 1) % mod;
}
int n, k;
int inv[maxn];
int sumL[maxn][maxn][maxn], sumR[maxn][maxn][maxn];
int coef[maxn][maxn][maxn];
void calc_sumR(int row) {
  for (int i = 1; i < n - row; i++) {
    for (int j = 0; j <= n; j++)
      sumR[row][i][j] = (sumR[row][i - 1][j] + coef[row][i - 1][j]) % mod;
  }
}
void calc_sumL(int row, int col) {
  for (int i = 0; i <= n; i++) {
    sumL[row][col][i] = (sumL[row - 1][col][i] + coef[row - 1][col][i]) % mod;
  }
}
void upd(int &x, long long v) { x = (x + v) % mod; }
int a[maxn][maxn], val[maxn];
void gauss(int n) {
  for (int i = 1; i <= n; i++) {
    int pivot = -1;
    for (int j = i; j <= n; j++) {
      if (a[j][i] % mod != 0) {
        pivot = j;
        break;
      }
    }
    assert(pivot != -1);
    swap(a[i], a[pivot]);
    int coef = qpow(a[i][i], mod - 2);
    for (int j = 0; j <= n; j++) a[i][j] = 1ll * a[i][j] * coef % mod;
    for (int j = 1; j <= n; j++) {
      if (i == j) continue;
      int coef = a[j][i];
      for (int k = 0; k <= n; k++) {
        a[j][k] = (a[j][k] - 1ll * coef * a[i][k]) % mod;
      }
    }
  }
  val[0] = 1;
  for (int i = 1; i <= n; i++) val[i] = -a[i][0];
}
int query(int x, int y) {
  int ret = 0;
  for (int t = 0; t <= n; t++) {
    upd(ret, 1ll * val[t] * coef[x][y][t]);
  }
  return (ret % mod + mod) % mod;
}
int main() {
  for (int i = 1; i < maxn; i++) inv[i] = qpow(i, mod - 2);
  int sx, sy, sl, sk;
  cin >> sl >> sk >> n;
  sx = sk - 1;
  sy = sl - sk;
  for (int i = 1; i <= n - 2; i++) {
    coef[1][i][i] = 1;
  }
  coef[0][0][0] = 1;
  for (int i = 1; i < n; i++) {
    coef[0][i][0] = i + 1;
    coef[i][0][0] = i + 1;
  }
  calc_sumR(1);
  for (int i = 1; i <= n; i++) calc_sumL(1, i);
  for (int i = 2; i < n; i++) {
    for (int j = 1; j <= n - i; j++) {
      int x = i - 1, y = j;
      int dp = 1ll * (x + y + 1) * inv[n] % mod;
      int cp = (1 - dp) % mod;
      for (int t = 0; t <= n; t++) {
        int &cur = coef[i][j][t];
        upd(cur, -coef[x][y][t]);
        upd(cur, 1ll * (y + 1) * inv[x + y + 2] % mod * coef[x][y + 1][t] %
                     mod * cp);
        upd(cur, 1ll * sumL[x][y][t] * inv[x + y] % mod * dp);
        upd(cur, 1ll * sumR[x][y][t] * inv[x + y] % mod * dp);
      }
      int self_coef = 1ll * (x + 1) * inv[x + y + 2] % mod * cp % mod;
      if (self_coef % mod != 0) {
        int c = qpow(-self_coef, mod - 2);
        for (int t = 0; t <= n; t++)
          coef[i][j][t] = 1ll * coef[i][j][t] * c % mod;
      }
      calc_sumL(i, j);
    }
    calc_sumR(i);
  }
  for (int i = 1; i <= n - 2; i++) {
    for (int j = 0; j <= n; j++) a[i][j] = coef[i + 1][n - 1 - i][j];
  }
  gauss(n - 2);
  cout << query(sx, sy) << endl;
  return 0;
}