import sys, math def input(): return sys.stdin.readline()[:-1] def main(): N = int(input()) G = [0 for k in range(N)] for k in range(N-1): u, v = map(int,input().split()) G[u-1] += 1 G[v-1] += 1 t = 0 o = 0 z = 0 for e in G: if e == 2: t += 1 elif e == 1: o += 1 elif e == 0: z += 1 if t == N-2 and o == 2: print("Bob") elif t == N-1 and z == 1: print("Bob") else: print("Alice") if __name__ == '__main__': main()