N = int(input()) u = [0] * (N-1) v = [0] * (N-1) for i in range(N-1): u[i],v[i] = list(map(int,input().split())) tree = [[] for _ in range(N)] union = [i for i in range(N)] def get(i): if union[i] == i: return i else: return get(union[i]) def renketu(i,j): if get(i) == get(j): return union[get(i)] = get(j) union[i] = get(j) for i in range(N-1): tree[u[i]].append(v[i]) tree[v[i]].append(u[i]) renketu(u[i],v[i]) cone = 0 for i in range(N): if union[i] == i: cone += 1 num = 0 for i in range(N): if len(tree[i]) == 1: num += 1 A = 'Alice' B = 'Bob' if cone == 1: print(B) elif cone >= 3: print(A) else: if num > 0: print(A) else: print(B)