#include using namespace std; using Int = long long; //INSERT ABOVE HERE Int dp[2][20][1<<20]; signed main(){ Int n,k; cin>>n>>k; memset(dp,-1,sizeof(dp)); function dfs= [&](Int f,Int p,Int b)->Int{ Int &res=dp[f][p][b]; if(~res) return res; if(b+1==(1<>i)&1) continue; Int nf=p>i,nb=b|(1<