#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define popcount __builtin_popcount using namespace std; //typedef long long int ll; typedef pair P; using ll=unsigned long long; const ll MOD=1e9+7; ll comb[303][303]; ll dp[303][303][303]; ll s[303][303]; int c[303][303]; int main() { int n, k; cin>>n>>k; for(int i=0; i<=k; i++){ comb[i][0]=1, comb[i][i]=1; for(int j=1; j