#include typedef long long ll; using namespace std; ll N,M; bool B[(1<<15)]; void gen(int b){ if(B[b]) return; B[b]=1; M++; for(int i = 0;i> N; gen(0); }