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.PrintStream;
import java.io.BufferedReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.Writer;
import java.util.List;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.InputMismatchException;
import java.util.ArrayList;
import java.util.NoSuchElementException;
import java.io.Reader;
import java.math.BigInteger;
import java.io.InputStream;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 * @author Nipuna Samarasekara
 */
public class Main {
	public static void main(String[] args) {
		InputStream inputStream = System.in;
		OutputStream outputStream = System.out;
		FastScanner in = new FastScanner(inputStream);
		FastPrinter out = new FastPrinter(outputStream);
		TaskB solver = new TaskB();
		solver.solve(1, in, out);
		out.close();
	}
}

class TaskB {
    /////////////////////////////////////////////////////////////
    static long mod = 1000000007;

    public void solve(int testNumber, FastScanner in, FastPrinter out) {
        long n = in.nextInt();
        long m = in.nextLong();
        long k = in.nextInt();
        long[][] nCr = IntegerUtils.generateBinomialCoefficients((int) n, mod);
        long[][] part = new long[(int) n + 1][(int) k + 1];
        long cout = m / n;
        cout++;
        part[0][0] = 1;
        long[] mulm= new long[(int)n+1];
        for (int ev = 0; ev <=n  ; ev++) {
          mulm[ev]= MathUtils.modPow( (int)nCr[(int) n][ev], cout, (int) mod);

        }
        for (int elements = 1; elements <= n; elements++) {
            if(elements==(int)(m%n)+1){
                cout--;
                for (int ev = 0; ev <=n  ; ev++) {
                    mulm[ev]= MathUtils.modPow( (int)nCr[(int) n][ev], cout%(mod-1), (int) mod);

                }
            }
            for (int ev = 0; ev <= n; ev++) {
                long mul =   mulm[ev];
                for (int sum = ev; sum <= k; sum++) {
                    long im= (part[elements - 1][sum - ev]*mul);
                    if(im>=mod)im%=mod;
                    part[elements][sum] += im;
                    if (part[elements][sum] >= mod) part[elements][sum] -= mod;
                }

            }
        }
//
//        long ans = 0;
//        for (int i = 0; i < (int) (m % n); i++) {
//            for (int ev = 0; ev <= n; ev++) {
//                long hh = part[(int) n - 1][(int) n - ev];
//                ans += (hh * mul) % mod;
//                if (ans >= mod) ans -= mod;
//            }
//
//        }
//        cout--;
//        for (int i = (int) (m % n); i < n; i++) {
//            for (int ev = 0; ev <= n; ev++) {
//                long hh = part[(int) n - 1][(int) n - ev];
//                long mul = MathUtils.modPow((int) nCr[(int) n][ev], cout, (int) mod);
//                ans += (hh * mul) % mod;
//                if (ans >= mod) ans -= mod;
//            }
//        }
      //  deb(part);
        out.println(part[(int)n][(int)k]);
    }

}

class FastScanner extends BufferedReader {

    public FastScanner(InputStream is) {
        super(new InputStreamReader(is));
    }

    public int read() {
        try {
            int ret = super.read();
//            if (isEOF && ret < 0) {
//                throw new InputMismatchException();
//            }
//            isEOF = ret == -1;
            return ret;
        } catch (IOException e) {
            throw new InputMismatchException();
        }
    }

    public String next() {
        StringBuilder sb = new StringBuilder();
        int c = read();
        while (isWhiteSpace(c)) {
            c = read();
        }
        if (c < 0) {
            return null;
        }
        while (c >= 0 && !isWhiteSpace(c)) {
            sb.appendCodePoint(c);
            c = read();
        }
        return sb.toString();
    }

    static boolean isWhiteSpace(int c) {
        return c >= 0 && c <= 32;
    }

    public int nextInt() {
        int c = read();
        while (isWhiteSpace(c)) {
            c = read();
        }
        int sgn = 1;
        if (c == '-') {
            sgn = -1;
            c = read();
        }
        int ret = 0;
        while (c >= 0 && !isWhiteSpace(c)) {
            if (c < '0' || c > '9') {
                throw new NumberFormatException("digit expected " + (char) c
                        + " found");
            }
            ret = ret * 10 + c - '0';
            c = read();
        }
        return ret * sgn;
    }

    public long nextLong() {
        return Long.parseLong(next());
    }

    public String readLine() {
        try {
            return super.readLine();
        } catch (IOException e) {
            return null;
        }
    }

}

class FastPrinter extends PrintWriter {

    public FastPrinter(OutputStream out) {
        super(out);
    }

    public FastPrinter(Writer out) {
        super(out);
    }


}

class IntegerUtils {

    public static long[][] generateBinomialCoefficients(int n, long module) {
		long[][] result = new long[n + 1][n + 1];
		if (module == 1)
			return result;
		for (int i = 0; i <= n; i++) {
			result[i][0] = 1;
			for (int j = 1; j <= i; j++) {
				result[i][j] = result[i - 1][j - 1] + result[i - 1][j];
				if (result[i][j] >= module)
					result[i][j] -= module;
			}
		}
		return result;
	}

}

class MathUtils {


    public static int modPow(int a, long b, int mod) {
        int ret = 1;
        a = (a % mod + mod) % mod;
        while (b > 0) {
            if ((b & 1) == 1) {
                ret = (int) ((long) ret * a % mod);
            }
            a = (int) ((long) a * a % mod);
            b >>= 1;
        }
        return ret;
    }

}