#include using ll = long long; int main(){ ll n; scanf("%lld", &n); std::vector> links(n, std::vector(0)); for(ll i=1; i a(n, 1), landsize(0); for(ll i=0; i que; que.push(i); while(!que.empty()){ ll from = que.front(); que.pop(); a[from] = 0; tmp++; for(ll to: links[from]){ if(a[to]) que.push(to); } } landsize.push_back(tmp); } ll bob = 1; if(islands==1) puts("Bob"); else if(islands==2){ ll alice = 0; for(std::vector l: links) alice |= (l.size()==1); if(alice) puts("Alice"); else puts("Bob"); }else puts("Alice"); return 0; }