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