#include<bits/stdc++.h>
using namespace std;
vector <int> des[1000100];
int sg(int s,int pre=0)
{
	int ans=0;
	for (int k=0;k<des[s].size();k++) if (des[s][k]!=pre)
	{
		ans^=sg(des[s][k],s)+1;
	}
	return ans;
}
int main()
{
	int n;scanf("%d",&n);
	for (int i=1;i<n;i++)
	{
		int u,v;scanf("%d%d",&u,&v);
		des[u].push_back(v);des[v].push_back(u);
	}
	if (sg(1)) printf("Alice\n");else printf("Bob\n");
}