#include using namespace std; int main() { int N; cin >> N; vector> G(N); for (int i = 0, a, b; cin >> a >> b; i++) G.at(a).push_back(b), G.at(b).push_back(a); int cnt = 0; for (int i = 0; i < G.size(); i++) { if (!G.at(i).size()) cnt += 2; else if (G.at(i).size() == 1) cnt++; } cout << ((cnt > 2) ? "Alice" : "Bob") << "\n"; }