from sys import stdin def main(): input = lambda: stdin.readline()[:-1] global N, graph, vis N = int(input()) UV = [tuple(map(int, input().split())) for _ in [0] * (N - 1)] cnt = [0] * N for u, v in UV: cnt[u] += 1 cnt[v] += 1 zero = cnt.count(0) if not zero: print('Bob') elif zero == 1 and cnt.count(2) == N - 1: print('Bob') else: print('Alice') main()