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