#include #include using namespace std; using int64 = long long; const int MOD = 1000000007; int main() { int n,d,k; cin >> n >> d >> k; vector> dp(n+1, vector(k+d+1, 0LL)); dp[0][0] = 1; for (int i=0; i