N = int(input()) A = tuple(map(int, input().split())) flag = True for a in A: if a == 1: flag = not flag else: flag = True print('Alice' if flag else 'Bob')