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) for i in S: if len(i) != 0: continue else: print('Alice') break else: print('Bob')