import sys input = sys.stdin.readline N=int(input()) A=list(map(int,input().split())) LOSE=0 for a in A[:N-1]: if a==1: LOSE=1-LOSE else: LOSE=1 # print(LOSE) if LOSE==0: if N%2==0: if A[-1]==1: print("Alice") else: print("Bob") else: if A[-1]!=1: print("Alice") else: print("Bob") else: if N%2==0: print("Alice") else: print("Bob")