from sys import stderr n, m = map(int, input().split()) xb = xc = 0 for v in map(int, input().split()): b, c = divmod(v, m) xb ^= b xc ^= c print(f'Xor B = {xb}', file=stderr) print(f'Xor C = {xc}', file=stderr) print("Alice" if xb or xc else "Bob")