#include #define int long long using namespace std; const int mod=1e9+7; const int sz=1000010; int fact[sz],inv[sz],ifact[sz]; void make(){ fact[0]=fact[1]=inv[1]=ifact[0]=ifact[1]=1; for(int i=2;i>N>>K; vector dp(N); for(int i=1;i