#include using namespace std; using ll = long long; #define rep(i, srt, end) for (long long i = (srt); i < (long long)(end); i++) const ll mod = 1000000000+7; void add(ll &a, ll b) { (a += b) %= mod; } void mul(ll &a, ll b) { (a *= b) %= mod; } void solve() { ll n, k; cin >> n >> k; vector a(n); rep(i, 0, n) cin >> a[i]; set st; rep(bit, 0, (1<