Problem: John Doe has an n × m table. John Doe can paint points in some table cells, not more than one point in one table cell. John Doe wants to use such operations to make each square subtable of size n × n have exactly k points.

John Doe wondered, how many distinct ways to fill the table with points are there, provided that the condition must hold. As this number can be rather large, John Doe asks to find its remainder after dividing by 1000000007 (109 + 7).

You should assume that John always paints a point exactly in the center of some cell. Two ways to fill a table are considered distinct, if there exists a table cell, that has a point in one way and doesn't have it in the other.

Input

A single line contains space-separated integers n, m, k (1 ≤ n ≤ 100; n ≤ m ≤ 1018; 0 ≤ k ≤ n2) — the number of rows of the table, the number of columns of the table and the number of points each square must contain.

Please, do not use the %lld specifier to read or write 64-bit integers in С++. It is preferred to use the cin, cout streams or the %I64d specifier. 

Output

In a single line print a single integer — the remainder from dividing the described number of ways by 1000000007 (109 + 7).

Examples

Input

5 6 1


Output

45

Note

Let's consider the first test case: 

<image> The gray area belongs to both 5 × 5 squares. So, if it has one point, then there shouldn't be points in any other place. If one of the white areas has a point, then the other one also must have a point. Thus, there are about 20 variants, where the point lies in the gray area and 25 variants, where each of the white areas contains a point. Overall there are 45 variants.

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
long long modd = 1000000007;
vector<vector<long long> > comb(105, vector<long long>(105, 1));
long long po(long long a, long long b) {
  if (b == 0) {
    return 1;
  }
  long long tmp = po(a, b / 2);
  tmp = (tmp * tmp) % modd;
  if (b % 2 == 1) {
    tmp = (tmp * a) % modd;
  }
  return tmp;
}
int main() {
  int n, k;
  long long m;
  scanf("%d %I64d %d", &n, &m, &k);
  for (int i = 2; i < 105; i++) {
    for (int j = 1; j < i; j++) {
      comb[i][j] = (comb[i - 1][j - 1] + comb[i - 1][j]) % modd;
    }
  }
  vector<long long> app(n);
  long long smallest = 1000000000000000100;
  long long biggest = -1;
  for (int i = 0; i < n; i++) {
    app[i] = m / n;
    if ((i + 1) <= m % n) {
      app[i]++;
    }
    smallest = min(smallest, app[i]);
    biggest = max(biggest, app[i]);
  }
  vector<vector<long long> > powers(2, vector<long long>(n + 1));
  for (int i = 0; i < 2; i++) {
    for (int j = 0; j <= n; j++) {
      if (i == 0) {
        powers[i][j] = po(comb[n][j], smallest);
      } else {
        powers[i][j] = po(comb[n][j], biggest);
      }
    }
  }
  vector<vector<long long> > dp(n, vector<long long>(k + 1, 0));
  for (int i = 0; i <= min(n, k); i++) {
    if (app[0] == smallest) {
      dp[0][i] = powers[0][i];
    } else {
      dp[0][i] = powers[1][i];
    }
  }
  for (int i = 1; i < n; i++) {
    for (int sum = 0; sum <= min(k, (i + 1) * n); sum++) {
      int j = sum;
      for (int last_used = 0; last_used <= min(k, min(sum, n)); last_used++) {
        if (app[i] == smallest) {
          dp[i][j] =
              (dp[i][j] +
               (dp[i - 1][j - last_used] * powers[0][last_used]) % modd) %
              modd;
        } else if (app[i] == biggest) {
          dp[i][j] =
              (dp[i][j] +
               (dp[i - 1][j - last_used] * powers[1][last_used]) % modd) %
              modd;
        }
      }
    }
  }
  printf("%I64d\n", dp[n - 1][k]);
  return 0;
}