#include using namespace std; using ll = long long; using PII = std::pair; using PLL = std::pair; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define rep2(i, s, n) for (int i = (s); i < (int)(n); i++) #define DEBUG int main(){ int n, a, b; string ans; cin >> n; vector v; rep(i, n) v.push_back(0); rep(i, n - 1) { cin >> a >> b; v[a]++; v[b]++; } a = b = 0; rep(i, n) { if (v[i] == 0) a++; else if (v[i] == 1) b++; } ans = "Alice"; if (a == 0) ans = "Bob"; else if (a == 1 && b == 0) ans = "Bob"; cout << ans << endl; return 0; }