n = int(input()) g = [[] for _ in range(n)] for i in range(n-1): u, v = map(int, input().split()) g[u].append(v) g[v].append(u) zero = one = 0 for i in range(n): l = len(g[i]) if l > 2: print("Alice") exit(0) if l == 1: one += 1 if l == 0: # print(i) zero += 1 print(g,zero,one) if one == 2 or zero == 1: print("Bob") else: print("Alice")