/* * Advent Calendar Contest 2017(2017-12-01 00:00:00〜2017-12-25 00:00:00) * #A 32ms */ #include using namespace std; #define fastcin {\ cin.tie(0);\ ios::sync_with_stdio(false);\ } #define REP(i, a) for(int i = 0; i < a; i++) #define scan(x) cin >> x #define print(x) cout << x << "\n" int main() { fastcin; int N; scan(N); int s[N]; long x[N], y[N]; int count[4] = {}; int ans = 0; REP(i, N) { cin >> x[i] >> y[i]; if (x[i]%2==0) { if (y[i]%2==0) s[i] = 0; else s[i] = 1; } else { if (y[i]%2==0) s[i] = 2; else s[i] = 3; } if (count[s[i]] > 0) { count[s[i]]--; ans++; } else count[s[i]]++; } if (ans%2!=0) print("Alice"); else print("Bob"); return 0; }