import sys readline = sys.stdin.readline N = int(readline()) D = [0] * N for i in range(N - 1): w, v = map(int, readline().split()) D[w] += 1 D[v] += 1 zero = 0 for i in range(N): if D[i] == 0: zero += 1 if (zero == 1 and len(set(D)) == 2) or not zero: print("Bob") else: print("Alice")