n = int(input()) a = list(map(int, input().split())) x = 0 for i in range(1, n, 2): x ^= a[i] if x == 0: print('Bob') else: print('Alice')