import java.util.*; import java.io.*; import java.math.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] map = new int[N]; for(int i = 0; i < N-1; i++){ map[sc.nextInt()]++; map[sc.nextInt()]++; } int cnt1 = 0; int cnt0 = 0; for(int i = 0; i < N; i++){ if(map[i] == 1){ cnt1++; } if(map[i] == 0){ cnt0++; } } if(cnt0 == 0 || (cnt0 == 1 && cnt1 == 0)){ System.out.println("Bob"); }else{ System.out.println("Alice"); } } }