#include using namespace std; #define rep(i,n) for(int i=0;i<(int)(n);i++) #define rrep(i,n) for(int i=(int)(n-1);i>=0;i--) #define ALL(v) v.begin(),v.end() #define RALL(v) v.rbegin(),v.rend() template using V=vector; template using VV=V>; using u128=__int128_t; using ll=long long; V G[20020]; int main(){ ios::sync_with_stdio(false); std::cin.tie(nullptr); random_device rd; mt19937_64 rnd(rd()); int n,m; cin>>n>>m; rep(i,m){ int a,b; cin>>a>>b; a--,b--; G[a].push_back(b); G[b].push_back(a); } rep(_,200){ uniform_int_distribution ud(0,4); V color(n); rep(i,n) color[i]=ud(rnd); VV dp(1<<5,V(n)); dp[1<>color[nv]&1) continue; dp[s|(1<