N = int(input()) XY = [0] * 4 for i in range(N): x, y = list(map(int, input().split())) XY[(x % 2) * 2 + y % 2] += 1 if sum([i // 2 for i in XY]) % 2: print('Alice') else: print('Bob')