#include <bits/stdc++.h>
using namespace std;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
const long long INF = 0x3F3F3F3F3F3F3F3F;
const long long MOD = 1e9 + 7;
long double EPS = 1e-12;
const long long N = 101;
long long n, m, k;
long long dp[N][N * N];
long long fac[N], lac[N];
long long dp2[N];
long long exgcd(long long a, long long b, long long &x, long long &y) {
  long long g = a;
  x = 1, y = 0;
  if (b) g = exgcd(b, a % b, y, x), y -= (a / b) * x;
  return g;
}
long long modinv(long long a, long long M) {
  long long x, y;
  exgcd(a, M, x, y);
  return (x + M) % M;
}
long long modexp(long long base, long long exp) {
  long long res = 1;
  while (exp > 0) {
    if (exp & (long long)1) res *= base, res %= MOD;
    base *= base, base %= MOD, exp >>= (long long)1;
  }
  return res % MOD;
}
long long REC(long long lv, long long rm) {
  if (lv >= n) return rm == 0;
  if (dp[lv][rm] != -1) return dp[lv][rm];
  long long ans = 0;
  for (long long i = (0); i <= (n); i++) {
    if (rm < i) break;
    long long factor = dp2[i];
    if (m % n >= lv + 1) {
      long long ways = (fac[n] * lac[i]) % MOD;
      ways = (ways * lac[n - i]) % MOD;
      factor = (factor * ways) % MOD;
    }
    ans += (factor * REC(lv + 1, rm - i)) % MOD;
    ans %= MOD;
  }
  dp[lv][rm] = ans;
  return ans;
}
short rain() {
  {
    cin >> n >> m >> k;
    fac[0] = 1;
    for (long long i = (1); i <= (n); i++) fac[i] = (fac[i - 1] * i) % MOD;
    for (long long i = (0); i <= (n); i++) lac[i] = modinv(fac[i], MOD);
    for (long long i = (0); i <= (n); i++) {
      long long ways = (fac[n] * lac[i]) % MOD;
      ways = (ways * lac[n - i]) % MOD;
      long long x = m / n;
      dp2[i] = modexp(ways, x);
    }
    memset(dp, -1, sizeof(dp));
    cout << REC(0, k) << '\n';
  }
  return 0;
}
signed main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long start = 1000 * clock() / CLOCKS_PER_SEC;
  cout << fixed << setprecision(15);
  rain();
  cerr << 1000 * clock() / CLOCKS_PER_SEC - start << "ms\n";
}
