#include <iostream>
#include <algorithm>
#include <vector>
#include <functional>

int main() {
	int n;
	std::cin >> n;

	std::vector<std::vector<int>> g(n);

	for (int i = 0; i < n - 1; i++) {
		int u, v;
		std::cin >> u >> v;
		u--;
		v--;
		g[u].push_back(v);
		g[v].push_back(u);
	}

	std::vector<int> dp(n);

	std::function<void(int, int)> dfs = [&](int u, int p) {
		for (int v : g[u]) {
			if (v != p) {
				dfs(v, u);
				dp[u] ^= dp[v] + 1;
			}
		}
	};

	dfs(0, -1);

	puts(dp[0] != 0 ? "Alice" : "Bob");
}