N = int(input()) A = list(map(int, input().split())) turn = 0 while N: if A[-1] != 1 or N == 1: print("Bob") if turn else print("Alice") exit() else: A.pop() N -= 1 turn = 1 - turn