#include using namespace std; #include struct UF{ int n; vectorparent,rank; UF(int n_=0):n(n_),parent(n_),rank(n_,1) { for(int i=0;i>N; int cnt=N-1; UF uf(N+1); for(int i=1;i>u>>v; cnt-=uf.unite(u,v); } cout<<(cnt?"Alice":"Bob")<