from collections import defaultdict as dd from sys import exit n = int(input()) bridge = [list(map(int, input().split()))for _ in range(n-1)] parent = [-1]*n cnt = [0]*n def find(x): if parent[x] < 0: return x parent[x] = find(parent[x]) return parent[x] def union(x, y): px, py = find(x), find(y) if px==py: return if parent[px] > parent[py]: px, py = py, px parent[px] += parent[py] parent[py] = px for x, y in bridge: union(x, y) cnt[x] += 1 cnt[y] += 1 dic = dd(lambda: 0) for i in range(n): dic[find(i)] += 1 if len(dic)==1: print("Bob") elif len(dic)==2: x, y = dic.keys() if dic[x] > dic[y]: x, y = y, x if dic[x]==1: for i in range(n): if not(i==x or cnt[i]==2): print("Alice") exit() print("Bob") else: print("Alice") else: print("Alice")