// yukicoder: No.601 Midpoint Erase // 2019.6.23 bal4u #include #if 1 #define gc() getchar_unlocked() #else #define gc() getchar() #endif int in() { // 非負整数の入力 int n = 0, c = gc(); do n = 10 * n + (c & 0xf); while ((c = gc()) >= '0'); return n; } int a[4]; int main() { int i, N, ans; N = in(); for (i = 0; i < N; i++) { int x = in(), y = in(); a[((x & 1)<< 1) + (y & 1)]++; } ans = 0; for (i = 0; i < 4; i++) { a[i] &= 3; if (a[i] >= 2) ans = !ans; } puts(ans? "Alice": "Bob"); return 0; }