import sys input=lambda: sys.stdin.readline().rstrip() n=int(input()) par=[-1]*n def find(x): if par[x]<0: return x else: par[x]=find(par[x]) return par[x] def unite(x,y): x=find(x) y=find(y) if x==y: return False else: if par[x]>par[y]: x,y=y,x par[x]+=par[y] par[y]=x return True def same(x,y): return find(x)==find(y) def size(x): return -par[find(x)] for _ in range(n-1): u,v=map(int,input().split()) unite(u,v) for i in range(n): find(i) if min(par)==-n: print("Bob") else: print("Alice")