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