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 JAVA):

Solution:
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.math.BigInteger;
import java.util.StringTokenizer;

public class Solution implements Runnable {
	private BufferedReader br;
	private StringTokenizer tok;
	private PrintWriter out;
	
	public static final boolean ONLINE_JUDGE = System.getProperty("ONLINE_JUDGE") != null;
	public static final int MOD = 1000 * 1000 * 1000 + 7;
	
	int binPow(long n, long p) {
		long res = 1;
		while (p > 0)
			if ((p & 1) == 1) {
				res *= n;
				res %= MOD;
				p ^= 1;
			} else {
				n *= n;
				n %= MOD;
				p >>= 1;
			}
		return (int) res;
	}
		
	void solve() throws IOException {
		int n = nextInt();
		long m = nextLong();
		int k = nextInt();
		
		long[] cnt = new long[n + 1];
		for (int i = 1; i <= n; ++i) {
			cnt[i] = m / n;
			if (m % n >= i) {
				++cnt[i];
			}
		}
		
		int[][] cnk = new int[n + 1][n + 1];
		cnk[0][0] = 1;
		for (int i = 1; i <= n; ++i)
			for (int j = 0; j <= i; ++j) {
				cnk[i][j] = cnk[i - 1][j];
				if (j > 0) {
					cnk[i][j] += cnk[i - 1][j - 1];
					cnk[i][j] %= MOD;
				}
				
			}
		
		int[][] calc = new int[n + 1][n + 1];
		for (int i = 1; i <= n; ++i) {
			for (int j = 0; j <= n; ++j) {
				calc[i][j] = binPow(cnk[n][j], cnt[i]);
//				out.print(calc[i][j] + " ");
			}
//			out.println();
		}
		
		long[][] dp = new long[n + 1][n * n + 1];
		for (int j = 0; j <= n; ++j) {
			dp[1][j] = calc[1][j];
		}
		for (int i = 2; i <= n; ++i) {
			for (int t = 0; t <= k; ++t)
				for (int j = 0; j <= Math.min(n, t); ++j) {
						dp[i][t] += dp[i - 1][t - j] * calc[i][j];
						dp[i][t] %= MOD;
					}
		}
		
	/*	for (int i = 1; i <= n; ++i) {
			for (int j = 1; j <= k; ++j) {
				out.print(dp[i][j] + " ");
			}
			out.println();
		}*/
		
		out.print(dp[n][k]);
	}
		
	public void run() {
		try {
			if (ONLINE_JUDGE) {
				br = new BufferedReader(new InputStreamReader(System.in));
				out = new PrintWriter(System.out);
			} else {
				br = new BufferedReader(new FileReader(new File("input.txt")));
				out = new PrintWriter(new File("output.txt"));
			}
			solve();
			br.close();
			out.close();
		} catch (IOException e) {
			e.printStackTrace();
			System.exit(1);
		}
	}
	
	public static void main(String[] args) {
		new Solution().run();
	}	
	
	String nextToken() throws IOException {
		while (tok == null || !tok.hasMoreTokens())
			tok = new StringTokenizer(br.readLine());
		return tok.nextToken();
	}
	
	String nextString() throws IOException {
		return nextToken();
	}
	
	int nextInt() throws IOException {
		return Integer.parseInt(nextToken());
	}
	
	long nextLong() throws IOException {
		return Long.parseLong(nextToken());
	}
	
	double nextDouble() throws IOException {
		return Double.parseDouble(nextToken());
	}
	
	BigInteger nextBigInteger() throws IOException {
		return new BigInteger(nextToken());
	}
}