#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define endl "\n"
template<typename T>
void read(T &t){
t=0;int flag=1;char c=getchar();
while(c<'0'||c>'9'){if(c=='-')flag=-1;c=getchar();}
while(c>='0'&&c<='9'){t=(t<<3)+(t<<1)+c-'0';c=getchar();}
t=t*flag;
}
const int N=1e5+5;
vector<int> p[N];
int du[N];
int main(){
int n;cin>>n;
for(int i=1;i<n;i++){
int x,y;cin>>x>>y;
p[x].push_back(y);
p[y].push_back(x);
du[x]++;du[y]++;
}
if(n==2){cout<<"Bob"<<endl;retutn 0;}
int ans=0;
for(int i=1;i<=n;i++){
if(du[i]!=1)ans++;
}
if(ans%2==0)cout<<"Alice"<<endl;
else cout<<"Bob"<<endl;
return 0;
}