n = int(input()) a = list(map(int,input().split())) now = 0 for i in range(1, n): if i % 2 == 0: continue now ^= a[i] if now == 0: print("Bob") else: print("Alice")