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