#pragma GCC target("avx") #pragma GCC optimize("O3") #pragma GCC optimize("unroll-loops") #include unsigned int N,M,cnt[4096],dp[4096]; int main(){ scanf("%d %d\n",&N,&M); for(unsigned int i=0;i>i&1)cnt[j^(1<>j&1)continue; if(cnt[i]<=2*cnt[i|1<