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