from collections import deque
N = int(input())
G = {i:[] for i in range(N)}
for _ in range(N-1):
    u,v = map(int,input().split())
    G[u].append(v)
    G[v].append(u)
col = [-1 for _ in range(N)]
cnt = 0
for i in range(N):
    if col[i]<0:
        col[i] = cnt
        que = deque([i])
        while que:
            x = que.popleft()
            for y in G[x]:
                if col[y]<0:
                    col[y]=cnt
                    que.append(y)
        cnt += 1
if N<=4:
    print("Bob")
else:
    if cnt>=3:
        print("Alice")
    elif cnt==2:
        flag = 0
        for i in range(N):
            if len(G[i])==0 or len(G[i])==2:
                continue
            flag = 1
            break
        if flag==0:
            print("Bob")
        else:
            print("Alice")
    else:
        print("Bob")