n, m = map(int, input().split())
a = []
g1 = g2 = 0
for x in map(int, input().split()):
    q, r = divmod(x, m)
    g1 ^= q
    g2 ^= r
print('Alice' if g1 or g2 else 'Bob')