#include using namespace std; #define modulo 1000000007 #define mod(mod_x) ((((long long)mod_x+modulo))%modulo) #define Inf 1000000000 struct unionfind{ vector data; vector size; unionfind(int n){ for(int i=0;i>N; unionfind uf(N); for(int i=0;i>a>>b; uf.unite(a,b); } if(uf.get_size(0)==N){ cout<<"Bob"<