n = int(input()) a = list(map(int,input().split())) i = n - 1 q = True while i >= 0 and a[i] == 1: q = not q if i == 0: q = not q i -= 1 if q: print("Alice") else: print("Bob")