N = int(input()) A = list(map(int,input().split())) tmp = 0 for a in A[1::2]: tmp ^= a if tmp == 0: print("Bob") else: print("Alice")