#include #include #include #include #include #include using namespace std; using ll = long long; int main(){ ll N, M, m, a, b, vtx, ans=1e9, c=0, mx; cin >> N >> M; assert(2 <= N && N <= 40); assert(1 <= M && M <= min(N*(N-1)/2, 40LL)); m = M/2; set> st; vector> e(M); for (int i=0; i> a >> b; a--; b--; e[i] = {a, b}; assert(!st.count({a, b})); assert(a != b); st.insert({a, b}); } for (int i=0; i> a; assert(a == 0 || a == 1); c |= a*(1LL<> v; map mp; mx = 1<