import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] sa = br.readLine().split(" "); int n = Integer.parseInt(sa[0]); List> list = new ArrayList<>(n); for (int i = 0; i < n; i++) { list.add(new ArrayList<>()); } for (int i = 0; i < n - 1; i++) { sa = br.readLine().split(" "); int u = Integer.parseInt(sa[0]); int v = Integer.parseInt(sa[1]); list.get(u).add(v); list.get(v).add(u); } br.close(); boolean[] visit = new boolean[n]; boolean circle = dfs(visit, list, 0, 1); if (circle) { System.out.println("Bob"); return; } for (int i = 0; i < visit.length; i++) { if (!visit[i]) { System.out.println("Alice"); return; } } System.out.println("Bob"); } static boolean dfs(boolean[] visit, List> list, int x, int dep) { visit[x] = true; for (int c : list.get(x)) { if (!visit[c]) { if (dfs(visit, list, c, dep + 1)) { return true; } } else if (dep == list.size() - 1 && c == 0) { return true; } } return false; } }