X = [[0] * 2 for _ in range(2)] for _ in range(int(input())): x, y = map(int, input().split()) X[x % 2][y % 2] += 1 n = 0 for i in range(2): for j in range(2): n ^= ((X[i][j]//2) % 2) if n == 0: print("Bob") else: print("Alice")