#include #include #include using namespace std; const long long mod = 10e9+7; long long factorial[61]; int N; int diff(long long x,long long y){ int count = 0; for(int i=0;i (y & 1 << i)){ return 0; } else if((x & 1< a; long long input; long long ans = 1; cin >> N >> k; factorial[0] = 1; for(int i=1;i<=N;i++){ factorial[i] = factorial[i-1]*i % mod; } for(int i=0;i> input; a.push_back(input); } a.push_back(0); sort(a.begin(),a.end()); a.push_back((1<