{ll n,d,k;rd(n,d,k);Combc;Mint r;rrep(i,(k-n)/d+1)r=c.C(n,i)*c.H(n,k-n-d*i)-r;wt(r);}