#include #include #include #include #include using namespace atcoder; using namespace std; using ll = long long; using ull = unsigned long long; const ull MOD = 1000000007; using mll = static_modint<1000000007>; #define rep(i,n) for(int i=0; i<(n); i++) int C[1<<16]; ll dp[361][1<<16] = {}; vector E[16]; int main(){ C[0] = 0; rep(i,16) rep(j,1<> K; cout << dp[K][(1<<16)-1] << endl; return 0; } struct ios_do_not_sync{ ios_do_not_sync(){ ios::sync_with_stdio(false); cin.tie(nullptr); } } ios_do_not_sync_inst;