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