from collections import defaultdict from itertools import combinations N = int(input()) li = tuple(tuple(map(int, input().split())) for _ in range(N)) MAP = defaultdict(set) LIST = [] for i, j in combinations(li, 2): x = (i[0] - j[0]) y = (i[1] - j[1]) if abs(x) in (0, 1) or abs(y) in (0, 1): continue if x % 2 == 0 and y % 2 == 0: MAP[i].add(j) MAP[j].add(i) LIST.append({i, j}) print(*LIST, sep="\n") cnt = 0 for fi, se in LIST: if MAP[fi] and MAP[se]: for z in MAP[fi]: MAP[z].remove(fi) if not MAP[z]: del MAP[z] for z in MAP[se]: MAP[z].remove(se) if not MAP[z]: del MAP[z] del MAP[fi] del MAP[se] cnt += 1 print("Bob" if cnt % 2 == 0 else "Alice")