n=int(input()) a=[] for i in range(n-1): u,v=map(int,input().split()) if u not in a: a.append(u) if v not in a: a.append(v) q=n+1-len(a) if q>=1: print("Alice") else: print("Bob")