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.

import java.io.*;
import java.math.BigInteger;
import java.util.*;



public class B {
    private static final int mod = (int)1e9+7;
    
    int n, K;
    int[] idx;
    long m, b;
    
    long[][] memo = new long[101][100*100+1];
    long[][] comb = new long[101][101];
    long[][] combPow = new long[2][101];
    
    long rec(int x, int r) {
        if(memo[x][r] != -1) return memo[x][r];
        if(r == 0) return memo[x][r] = 1;
        if(x == n - 1) {
            if(r > n) return memo[x][r] = 0;
//          System.err.println(x + " " + r + ": " + powmod((int)comb[n][r], (m+n-1-x) / n, mod));
            return memo[x][r] = combPow[idx[x]][r];
        }
        memo[x][r] = 0;
        for(int i = 0, u = Math.min(r, n); i <= u; i++) {
            memo[x][r] += combPow[idx[x]][i] * rec(x + 1, r - i) % mod;
        }
//      System.err.println(x + " " + r + ": " + memo[x][r]);
        return memo[x][r] %= mod;
    }
    
    public void run() throws IOException {
        for(int i = 0; i < comb.length; i++) {
            comb[i][i] = comb[i][0] = 1;
            for(int j = 1; j < i; j++) {
                comb[i][j] = (comb[i-1][j-1] + comb[i-1][j]) % mod;
            }
        }
        n = IOFast.nextInt();
        m = IOFast.nextLong();
        K = IOFast.nextInt();
        for(long[] m : memo) Arrays.fill(m, -1);
        b = m / n;
        for(int bb = 0; bb < 2; bb++) {
            for(int j = 0; j <= n; j++)
                combPow[bb][j] = powmod((int)comb[n][j], b + bb, mod);
        }
        idx = new int[n];
        for(int i = 0; i < n; i++) {
            idx[i] = (int)((m+n-1-i) / n - b);
        }
        IOFast.out.println(rec(0, K));
    }

    static long powmod(long n, long r, int m) {
        long res = 1;
        for(; r != 0; r >>>= 1, n = n * n % m) {
            if((r&1) == 1) {
                res = res * n;
                if(res >= m) {
                    res %= m;
                }
            }
        }
        return res;
    }
    
    public static void main(String[] args) throws IOException {
        new B().run();
        IOFast.out.flush();
    }

    static public class IOFast {
        private static BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        private static PrintWriter out = new PrintWriter(System.out);

//      private static final int BUFFER_SIZE = 50 * 200000;
        private static int pos, readLen;
        private static final char[] buffer = new char[1024 * 8];
        private static final StringBuilder buf = new StringBuilder();
        private static boolean[] isDigit = new boolean[256];
        private static boolean[] isSpace = new boolean[256];

        static {
            for(int i = 0; i < 10; i++) {
                isDigit['0' + i] = true;
            }
            isDigit['-'] = true;
            isSpace[' '] = isSpace['\r'] = isSpace['\n'] = isSpace['\t'] = true;
        }
        
        static boolean endInput;
        
        private static int read() throws IOException {
            if(readLen == -1) {
                return -1;
            }
            
            if(pos >= readLen) {
                readLen = in.read(buffer);
                pos = 0;
                
                if(readLen <= 0) {
                    return -1;
                }
            }
            
            return buffer[pos++];
        }

        private static int nextInt() throws IOException {
            boolean plus = false;
            int ret = 0;
            while(true) {
                final int c = read();
                
                if(c == -1) {
                    endInput = true;
                    return Integer.MIN_VALUE;
                }
                
                if(isDigit[c]) {
                    if(c != '-') {
                        plus = true;
                        ret = c - '0';
                    }
                    break;
                }
            }
            
            while(true) {
                final int c = read();
                if(c == -1 || !isDigit[c]) {
                    break;
                }
                ret = ret * 10 + c - '0';
            }
            
            return plus ? ret : -ret;
        }
        
        private static long nextLong() throws IOException {
            boolean plus = false;
            long ret = 0;
            while(true) {
                final int c = read();
                
                if(c == -1) {
                    endInput = true;
                    return Integer.MIN_VALUE;
                }
                
                if(isDigit[c]) {
                    if(c != '-') {
                        plus = true;
                        ret = c - '0';
                    }
                    break;
                }
            }
            
            while(true) {
                final int c = read();
                if(c == -1 || !isDigit[c]) {
                    break;
                }
                ret = ret * 10 + c - '0';
            }
            
            return plus ? ret : -ret;
        }

        private static char nextChar() throws IOException {
            while(true) {
                final int c = read();
                
                if(c == -1) {
                    endInput = true;
                    return '\0';
                }
                
                if(!isSpace[c]) {
                    return (char)c;
                }
            }
        }

        private static int next(char[] cs) throws IOException {
            int n = 0;
            while(true) {
                final int c = read();
                
                if(c == -1) {
                    endInput = true;
                    return n;
                }
                
                if(!isSpace[c]) {
                    cs[n++] = (char)c;
                    break;
                }
            }
            
            while(true) {
                final int c = read();
                
                if(c == -1 || isSpace[c]) {
                    break;
                }
                cs[n++] = (char)c;
            }
            
            return n;
        }

        private static String next() throws IOException {
            buf.setLength(0);

            while(true) {
                final int c = read();
                
                if(c == -1) {
                    endInput = true;
                    return "-1";
                }
                
                if(!isSpace[c]) {
                    buf.append((char)c);
                    break;
                }
            }
            
            while(true) {
                final int c = read();
                
                if(c == -1 || isSpace[c]) {
                    break;
                }
                buf.append((char)c);
            }

            return buf.toString();
        }

        private static double nextDouble() throws IOException {
            return Double.parseDouble(next());
        }

    }

}
