n = int(input()) S = [[]for i in range(n)] for i in range(n-1): u,v = list(map(int, input().split())) S[u].append(v) S[v].append(u) cnt=set() for i in S: cnt.add(len(i)) if 0 in cnt: print('Alice') else: print('Bob')