class UnionFind: def __init__(self, n): self.parent = [i for i in range(n)] def find(self, x): if self.parent[x] == x: return x self.parent[x] = self.find(self.parent[x]) return self.parent[x] def union(self, x, y): x = self.find(x) y = self.find(y) if x == y: return self.parent[x] = y N = int(input()) uf = UnionFind(N) for i in range(N-1): u, v = map(int, input().split()) uf.union(u, v) first = uf.find(0) bob = all(uf.find(i) == first for i in range(1, N)) print('Bob' if bob else 'Alice')