N=int(input()) par=[i for i in range(N)] rank=[0]*(N) B=[0]*N A=[] block=[0]*N size=[1]*N def find(x): if par[x]==x: return x else: par[x]=find(par[x]) return par[x] #同じ集合か判定 def same(x,y): return find(x)==find(y) def union(x,y): x=find(x) y=find(y) if x==y: return if rank[x]>rank[y]: par[y]=x size[x]+=size[y] else: par[x]=y size[y]+=size[x] if rank[x]==rank[y]: rank[y]+=1 for i in range(N-1): a,b=map(int,input().split()) union(a,b) B[a]+=1 B[b]+=1 A.append((a,b)) E=list(set(par)) if len(E)==1: print('Bob') elif len(E)>2: print('Alice') else: for a,b in A: if B[a]==1 or B[b]==1: print('Alice') exit() print('Bob')