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>
long long z = 1e9 + 7;
long long t, n, k;
long long binpow(long long a, long long b) {
  long long res = 1;
  while (b > 0) {
    if (b & 1) {
      res = res * a;
      res %= z;
    }
    a = a * a;
    a %= z;
    b >>= 1;
  }
  return res;
}
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long m;
  cin >> n >> m >> k;
  long long c[101][101], c1[101][101];
  for (int i = 0; i < 101; i++) {
    c[i][0] = 1;
    c1[i][0] = 1;
  }
  for (int i = 0; i < 101; i++) {
    c[0][i] = 0;
    c1[0][i] = 0;
  }
  c1[0][0] = 1;
  c[0][0] = 1;
  for (int i = 1; i < 101; i++) {
    for (int j = 1; j < 101; j++) {
      c[i][j] = c[i - 1][j] + c[i - 1][j - 1];
      c[i][j] %= z;
      long long val = (m - 1) / n;
      c1[i][j] = binpow(c[i][j], val);
    }
  }
  long long sol[101][10001];
  for (int j = 0; j <= n; j++) {
    long long xx = c1[n][j];
    long long x2 = m % n;
    x2--;
    if (x2 < 0) {
      x2 += n;
    }
    if (x2 >= n - 1) {
      xx *= c[n][j];
      xx %= z;
    }
    sol[n - 1][j] = xx;
  }
  for (int j = n + 1; j <= k; j++) {
    sol[n - 1][j] = 0;
  }
  for (int i = n - 2; i >= 0; i--) {
    for (int j = 0; j <= k; j++) {
      sol[i][j] = 0;
      for (int l = 0; l <= min((int)n, j); l++) {
        long long xx = c1[n][l];
        long long x2 = (m - 1) % n;
        if (x2 >= i) {
          xx *= c[n][l];
          xx %= z;
        }
        long long x1 = xx * sol[i + 1][j - l];
        x1 %= z;
        sol[i][j] += x1;
        sol[i][j] %= z;
      }
    }
  }
  long long ans = sol[0][k];
  cout << ans << endl;
  return 0;
}