import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.HashSet; import java.util.Set; 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]); int m = Integer.parseInt(sa[1]); sa = br.readLine().split(" "); int[] a = new int[n]; for (int i = 0; i < n; i++) { a[i] = Integer.parseInt(sa[i]); } br.close(); Set set1 = new HashSet<>(); Set set2 = new HashSet<>(); for (int i = 0; i < n; i++) { int v1 = a[i] / m; int v2 = a[i] % m; if (set1.contains(v1)) { set1.remove(v1); } else { set1.add(v1); } if (set2.contains(v2)) { set2.remove(v2); } else { set2.add(v2); } } set1.remove(0); set2.remove(0); if (set1.isEmpty() && set2.isEmpty()) { System.out.println("Bob"); } else { System.out.println("Alice"); } } }