from collections import Counter import sys input = sys.stdin.buffer.readline sys.setrecursionlimit(10 ** 7) N = int(input()) edge = [0] * N for _ in range(N-1): a, b = map(int, input().split()) edge[a] += 1 edge[b] += 1 c = Counter(edge) if c[0] == 0: # 木 print("Bob") elif c[0] == 1: if c[2] == N - 1: # 輪っかと1つの島だと連接にできる print("Bob") else: print("Alice") else: print("Alice")