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