N, d, K = map(int, input().split()) mod = int(1e9)+7 def inved(a): x, y, u, v, k, l = 1, 0, 0, 1, a, mod while l != 0: x, y, u, v = u, v, x - u * (k // l), y - v * (k // l) k, l = l, k % l return x % mod fact = [1 for _ in range(N+K+1)] invf = [1 for _ in range(N+K+1)] for i in range(N+K): fact[i+1] = (fact[i]*(i+1))%mod invf[-1] = inved(fact[-1]) for i in range(N+K, 0, -1): invf[i-1] = (invf[i] * i) % mod S = 0 sign = 1 for i in range(N+1): if K-i*d-N < 0: break else: S += (sign * fact[K-1-i*d] * invf[i] * invf[N-i] * invf[K-i*d-N]) % mod S %= mod sign *= mod - 1 sign %= mod print((N*S)%mod)