from collections import Counter N = int(input()) temp_dict = {} for i in range(N): temp_dict[i] = 0 for i in range(N-1): a, b = list(map(int, input().split())) temp_dict[a] += 1 temp_dict[b] += 1 count = Counter(temp_dict.values()) if 0 not in count: print("Bob") elif count[0] == 1: if 1 not in count: print("Bob") else: print("Alice") else: print("Alice")