#include #include #include using namespace std; using namespace atcoder; using mint=modint1000000007; int main(){ int n,d,k; cin>>n>>d>>k; vector> dp(n+1,vector(d*n+1)); dp[0][0]=1; for(int i=0;i=1?dp[i][st-1-d]:0); } } cout<