#include <bits/stdc++.h>

#define MAXN (100010)

int n;
std::vector<int> vec[MAXN]; 
bool vis[MAXN];
int sg[MAXN];

void dfs(int u){
	vis[u] = true;
	bool mark = false;
	for(auto v : vec[u]){
		if(vis[v]) continue;
		mark = true;
		dfs(v);
		sg[u] ^= (sg[v] + 1);
	}
}

int main(){
	scanf("%d", &n);
	for(int i = 1; i < n; ++ i){
		int u, v;
		scanf("%d%d", &u, &v);
		vec[u].push_back(v);
		vec[v].push_back(u);
	}
	dfs(1);
	printf(sg[1]? "Alice\n" : "Bob\n");
	return 0;
}