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