a[101][20001],i,j,n,s,m=1e9+7;main(k){**a=1;scanf("%d%d%d",&n,&s,&k);for(s-=~-n*n/2*k;++i<=n;)for(j=0;j<=s;j++)a[i][j]=(a[i-1][j]+a[i][j