import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines N = int(readline()) m = map(int,read().split()) UV = zip(m,m) graph = [[] for _ in range(N)] for u,v in UV: graph[u].append(v) graph[v].append(u) comp = [0] * N c = 0 for v in range(N): if comp[v]: continue c += 1 comp[v] = c stack = [v] while stack: v = stack.pop() for w in graph[v]: if comp[w]: continue comp[w] = c stack.append(w) n = max(comp) if n >= 3: print('Alice') exit() if n == 1: print('Bob') exit() deg = [len(x) for x in graph] if any(x == 1 for x in deg): print('Alice') else: print('Bob')