n,m = map(int,input().split()) x = y = 0 for v in map(int,input().split()): x ^= v//m; y ^= v%m print("Alice" if x or y else "Bob")